dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

Existance of debug turns on debugging #565

Open deepwell opened 9 years ago

deepwell commented 9 years ago

Passing either of the following as part of the connection object enable debugging:

{ debug: true } 
{ debug: false } 

I would expect the second one NOT to enable debugging.

m13 commented 9 years ago

You can use { debug: null } to disable debug.

But, please, fix it ASAP.