kylefarris / node-querybuilder

Node QueryBuilder Adapter for Node.js (tags: nodejs, node, mysql, active record, activerecord, querybuilder, query builder)
49 stars 19 forks source link

.count() will always throw an error #68

Open rsandrea opened 1 year ago

rsandrea commented 1 year ago

Whenever I try to run a .count() either with only the table name or the table name and the callback function, I always get the exception "this.resolve is not a function". Could it be that the handle function is missing some bindings?

https://github.com/kylefarris/node-querybuilder/blob/master/drivers/mysql/query_exec.js#L56-L71

raheel-oddtech commented 6 months ago

having same issue