brianc / node-sql

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

Use count(*) syntax for MySQL instead of count(`table`.*) #325

Closed kanthoney closed 8 years ago

kanthoney commented 8 years ago

MySQL doesn't accept count(table.) syntax. Changed to count() by blagging code from MSSQL dialect.

brianc commented 8 years ago

You're my hero! Merging & pushing a new patch version right now! 💃

brianc commented 8 years ago

well...waiting for travis to pass first, then merging 😉