Commit Graph

122 Commits

Author SHA1 Message Date
Anatoliy Chakkaev fa8a587215 Delayed database calls 2012-03-24 17:50:52 +04:00
Anatoliy Chakkaev 29afdff4dc upsert for redis 2012-03-23 00:33:09 +04:00
Anatoliy Chakkaev 95c0e7d5d0 upsert for redis 2012-03-23 00:24:15 +04:00
Anatoliy Chakkaev c06f28f433 Support upsert 2012-03-22 23:46:16 +04:00
Anatoliy Chakkaev 66319b2c79 Merge branch 'master' of github.com:1602/jugglingdb 2012-03-16 18:44:48 +04:00
Anatoliy Chakkaev 4ec9757503 Added contributors, MRU cache cleanup, closes #46 2012-03-16 18:42:02 +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 d558dd6b70 Support node 0.4 in mongodb adapter 2012-03-11 15:28:42 +04:00
Anatoliy Chakkaev 8bb855c88c Mongodb adapter 2012-03-11 08:48:38 +04:00
Anatoliy Chakkaev 2c43a97f7e Removed sequelize adapter 2012-03-10 16:07:59 +04:00
Anatoliy Chakkaev 633ae4067a Remove frozen neo4j lib, add neo4j database setup for travis-ci 2012-03-10 15:56:23 +04:00
Anatoliy Chakkaev c894694c7f Custom table name for sqlite3 2012-03-10 14:32:14 +04:00
Anatoliy Chakkaev b4de14b811 Added sql for common parts 2012-03-10 12:40:00 +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 d3231e7484 Allow custom table name in mysql 2012-03-07 11:29:08 +04:00
Henri Bergius cdc7ae6c82 Don't add a WHERE if there are no constraints 2012-03-06 14:08:27 +01:00
Anatoliy Chakkaev c33bc70756 Support reverse sort for redis 2012-03-06 17:05:22 +04:00
Anatoliy Chakkaev 639820bf29 Model.findOne, mongoose reverse sort, closes #38 2012-03-06 16:46:18 +04:00
Anatoliy Chakkaev 53f39a046a Fix unnecessary _was attributes issue, closes #36, #31, #34, #35 2012-03-03 13:55:29 +04:00
Anatoliy Chakkaev 9b3d432942 Reverse sort order in redis and memory, test 2012-03-01 23:57:48 +04:00
Anatoliy Chakkaev 7f073a4622 Test belongsTo 2012-03-01 21:26:52 +04:00
Henri Bergius 718cc2fa18 MySQL shouldn't break on null Date values 2012-03-01 17:02:20 +02:00
Henri Bergius 437c0df047 Safety: there might not be any indexes to use 2012-02-28 16:22:01 +02:00
1602 61cad1c89e Merge pull request #27 from patrickotoole/master
Modified belongsTo method
2012-02-21 13:47:40 -08:00
Anatoliy Chakkaev 35e872368a Default should not be handled by database engine 2012-02-20 22:44:02 +04:00
Anatoliy Chakkaev 11b4436fd1 Merge branch 'master' of github.com:1602/jugglingdb 2012-02-20 22:33:28 +04:00
Anatoliy Chakkaev e8c6f68353 Add schema.isActual and automigrate on sqlite start 2012-02-20 22:33:11 +04:00
1602 96459bfdcd Merge pull request #24 from Geeknux/master
Add some new features to advance query in Mysql
2012-02-20 10:32:09 -08:00
Mansur 4b9cd8e678 Fix sorting by id in redis 2012-02-11 14:47:54 +04:00
Rick O'Toole e94787724b changed belongsTo so grabs the belongs to relationship properly 2012-02-07 19:55:49 -10:00
Amir M. Mahmoudi 7569a923c8 Fixing some bugs, which fix default values and length of fields in mysql adapter 2012-02-06 22:22:13 +03:30
Anatoliy Chakkaev 5547a3acbe Add alias for skip/offet (mongoose) 2012-02-05 04:42:15 +08:00
Amir M. Mahmoudi a34d277ef8 Add some features to advanced queries 2012-02-04 14:55:07 +03:30
Anatoliy Chakkaev adf2a0502e Add alias for skip/offet (mongoose) 2012-02-03 00:15:01 +04:00
Anatoliy Chakkaev fb79ca2bf8 Advanced queries for sql-s and mongodb 2012-02-01 21:33:08 +04:00
Anatoliy Chakkaev e9f35fd7fd Emit logging event 2012-01-31 13:25:44 +04:00
Anatoliy Chakkaev 9faccf8638 Added utils module 2012-01-30 23:37:14 +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 7a52a7cfb6 SQLite3 adapter 2012-01-30 19:43:45 +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 b237b7bd4c Allow to call create without callback 2012-01-27 12:48:37 +04:00
Anatoliy Chakkaev 41b4ded78c Remove unnecessary logging 2012-01-26 13:26:38 +04:00
Anatoliy Chakkaev 14c34a8058 Mysql sort, where and limit 2012-01-20 00:16:30 +04:00
Anatoliy Chakkaev eb4e13922a Rewrite redis test to make possible filter and sort simultaneously 2012-01-19 20:18:57 +04:00
Anatoliy Chakkaev f21b3f2a43 Implement first-round sorting in memory adapter 2012-01-19 17:44:11 +04:00
Anatoliy Chakkaev f0a34bf008 Redis-adapter: test sorting, support alpha-sort, fix destroyAll issue 2012-01-18 22:49:30 +04:00