dresende / node-orm2

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

sqlite force debug mode #627

Open DarkPark opened 9 years ago

DarkPark commented 9 years ago

I use these options to connect

{
    "protocol": "sqlite",
    "pathname": "./data.sqlite"
}

Connection is okay but I can see all the queries in console as in debug mode (cool feature in general but I didn't turn it on neither in db instance nor in orm module). I'm trying to turn it off manually:

{
    "protocol": "sqlite",
    "pathname": "./data.sqlite",
    "query": {
        "debug": false
    },
    "connection": {
        "debug": false
    }
}

But no luck. What should I do?