ErlyORM / boss_db

BossDB: a sharded, caching, pooling, evented ORM for Erlang
Other
277 stars 138 forks source link

Update boss_db_adapter_mysql.erl #173

Closed jialechan closed 10 years ago

jialechan commented 10 years ago

count(1) faster than count(*) for this simple count sentence

danikp commented 10 years ago

count(*) is safer and recommended option