Arek W
Arek W
ORM needs to be independent of grunt, broccoli, cabbage or anything else. It should have a function that can be called by any of the mentioned frameworks. One could also...
Ahh makes sense. Given that it is totally postgres specific & it's own standalone app, I think it would make sense to make it a separate package and we can...
I wonder how this looks with other databases.
How are you calling `.save` ?
I'd recommend using the DB cache. If using Postgres, just increase the cache size in the postgresql.conf.
Thanks. Could you please add a test?
[The tests say it does work](https://github.com/dresende/node-orm2/blob/master/test/integration/model-find-chain.js#L83).
I believe [you can pass `autoFetch: false`](https://github.com/dresende/node-orm2/blob/51fe66892aefb3c093e809b1a00a8a6c39d47dfe/lib/Model.js#L278) when getting/finding but it doesn't allow specifying which models to skip; it will skip all.
Can you set ['debug: true'](https://github.com/dresende/node-orm2/wiki/Connecting-to-Database) in the connection settings and paste the SQL here? This seems rather odd.
Can you change it to: `query: { debug2: true }` and then [change this line](https://github.com/dresende/node-orm2/blob/master/lib/Drivers/DML/mysql.js#L85) to `if (this.opts.debug2) {` I suspect the newer versions of mysql driver also use the...