brianc / node-sql

SQL generation for node.js
MIT License
1.05k stars 191 forks source link

SQLITE select count not working #379

Closed robcalcroft closed 2 years ago

robcalcroft commented 6 years ago

Doing a User.select(User.count()).where(User.id).equals(1).toQuery() creates select "User".* .... and the "User".* breaks sqlite3. Is this a bug?