Commit Graph

14 Commits

Author SHA1 Message Date
Anatoliy Chakkaev 5c2b995cf1 Postgres migrations fix #54 2012-04-02 20:49:46 +04:00
Anatoliy Chakkaev c06f28f433 Support upsert 2012-03-22 23:46:16 +04:00
Felipe Sateler e3e7bf10ed Pass DEFAULT to autoincrement values in PG
PostgreSQL doesn't like NULLs in not null columns. Add a new option
autoIncrement, that when set makes the adapter insert DEFAULT instead of
NULL in those values.
2012-03-13 17:52:53 -03:00
Anatoliy Chakkaev f3e80c28f7 Correctly handle callback after blank automigration 2012-03-11 16:42:07 +04:00
Anatoliy Chakkaev 8bb855c88c Mongodb adapter 2012-03-11 08:48:38 +04:00
Anatoliy Chakkaev 7ae592ec9a DRY sql adapters 2012-03-10 12:39:39 +04:00
Anatoliy Chakkaev 13dce54a14 Unhashish, escape names, start moving common parts to sql.js 2012-03-10 11:55:25 +04:00
Felipe Sateler f39d3af5bd Allow custom table name in postgres too 2012-03-09 20:25:24 -03:00
Anatoliy Chakkaev fb79ca2bf8 Advanced queries for sql-s and mongodb 2012-02-01 21:33:08 +04:00
Anatoliy Chakkaev 643c2879fe Mongoose order/limit/offset and more
- Lazy dependencies loading
- Travis mongoose inetration
- All tests should run on travis
- Model.count for mongoose
2012-01-30 23:34:30 +04:00
Anatoliy Chakkaev 5b308b846e Fix postgres adapter 2012-01-30 17:54:13 +04:00
Anatoliy Chakkaev ad7d1d568a Model.count with params support, fix time in mysql 2012-01-30 17:27:26 +04:00
Anatoliy Chakkaev c3835d089b Fix postgres adapter 2012-01-10 19:43:32 +04:00
Anatoliy Chakkaev 029b020946 Postgresql adapter (buggy) 2012-01-10 17:26:24 +04:00