Lafougere / node-cfml

a simple cfml view engine for node.js/express
GNU General Public License v2.0
9 stars 3 forks source link

[Feature] cfquery #8

Closed AndrewKralovec closed 5 years ago

AndrewKralovec commented 5 years ago

@Lafougere , do you think we should implement <cfquery>or is this overkill ? I was thinking what we could do i import knex.js. This is what we can use to build the query. The user will be required to still setup a datasource, just like in cold fusion. As far as building the query, we could just read the text block in the <cfquery> tag, and plug that string into knex as a raw query.

devalnor commented 5 years ago

I think node-cfml has to be a CFML based templating engine like mustache, handlebear, pug, etc... not another clone like ralio or lucee.

AndrewKralovec commented 5 years ago

@devalnor , that is a good point.