node-querybuilder
node-querybuilder copied to clipboard
Node QueryBuilder Adapter for Node.js (tags: nodejs, node, mysql, active record, activerecord, querybuilder, query builder)
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...
.where('attr IS NOT', 'NULL') of .where('attr IS NOT', null) : does not work
It doesn't have first() method like normal. I can get one row by use limit() method but it til return an array.
reset query bug fixed
I was using batch_update but facing this error. The query I am getting in next_batch is working fine still I am getting this. **batch_data** [ { column1: 'test', coolumn2: '2.0.2444',...
Im using v2.1.1 When using `.like()` and `.or_like()` on numeric, Quote got removed '%123%' became %123% and error of execution `ER_PARSE_ERROR: You have an error in your SQL syntax; check...
It would be helpful if we could push and pop where statements. ``` qb.where({foo:'bar'} qb.pushWhere() qb.or_where({v1: 1}) qb.or_where({v2: 2}) qb.popWhere() ``` ```sql where foo='bar' and (v1=1 or v2=2) ```
I'm trying to Select {tableName}.* from {tableName} not working when I join 2 tables becase I just wanna return the values from first table example ` db.select('p.*').from('products p').join('brand b', 'b.id=p.brand_id')...
I have an express server, responding to API calls. Before calling `server.listen()` I initialise the Query Builder, and leave it running in the background It all works fine until after...