Commit Graph

94 Commits

Author SHA1 Message Date
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
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
1602 d05e018234 Merge pull request #16 from juggy/redis-sort
limit/offset and order clause for redis adapter
2012-01-18 07:52:55 -08:00
Anatoliy Chakkaev 08cc5eb105 Return name of type 2012-01-18 19:20:05 +04:00
Anatoliy Chakkaev a8db2ad081 Do not store null values 2012-01-14 00:06:57 +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
Anatoliy Chakkaev 0d2b14e2bc Allow constructor to be called without "new" 2012-01-09 16:59:58 +04:00
Julien Guimont f8f6f4d995 limit/offset and order clause for redis adapter
Conflicts:

	lib/adapters/redis.js
2011-12-16 22:01:38 -05:00
Anatoliy Chakkaev c457f6ae00 Merge branch 'master' into autoupdate 2011-12-11 15:35:23 +04:00
Anatoliy Chakkaev 71a52b4b50 Fix non-schema data saving 2011-12-11 15:26:24 +04:00
Anatoliy Chakkaev 9357c16607 Allow override sette and getters 2011-12-11 15:01:23 +04:00
Anatoliy Chakkaev 44267a3ebb Remove non-schema properties on reload 2011-12-11 12:58:34 +04:00
Anatoliy Chakkaev 877e30947f Drop and add columns 2011-12-11 11:51:57 +04:00
Anatoliy Chakkaev 155844eae6 Merge branch 'master' into autoupdate 2011-12-09 19:26:48 +04:00
Anatoliy Chakkaev d9567f01e2 Merge branch 'master' of github.com:1602/jugglingdb 2011-12-09 19:26:06 +04:00
Anatoliy Chakkaev 4cb7af139d Automigrade/update 2011-12-09 19:23:29 +04:00
Anatoliy Chakkaev e72db08ad0 Reset changes method 2011-11-28 23:31:01 +07:00
Anatoliy Chakkaev 27af51a0d9 Fix test for updateAttribute 2011-11-27 13:08:40 +07:00
1602 1f7c6a7ea4 Merge pull request #9 from redvulps/master
Updates to the mysql adapter: wrap fieldnames with `
2011-11-26 02:18:24 -08:00
Anatoliy Chakkaev 76a2f9a22c Validation should return undefined in case of async validations 2011-11-26 15:22:36 +07:00
Julien Guimont 001a962606 Some errors in the previous PR 2011-11-25 10:43:50 -05:00
Julien Guimont 3ce01d11b2 Async validations should not trump previous validations. Previous validations should be true as well as async validations 2011-11-25 10:22:35 -05:00
Anatoliy Chakkaev 4d7b813953 Keep dirty state for cached objects 2011-11-23 13:05:11 +07:00
Anatoliy Chakkaev 8b720c30f8 Keep dirty state for cached objects 2011-11-23 12:38:04 +07:00
redvulps 8b67c8d92e Fixed/Improved mysql escaping in the fields names 2011-11-22 20:43:05 -02:00
Anatoliy Chakkaev 12ea5f8478 Use events module 2011-11-22 04:40:50 +07:00
Anatoliy Chakkaev 946853f490 Make all args in .save optional 2011-11-22 04:34:15 +07:00
Anatoliy Chakkaev e4e4a43175 Update attribute + hooks 2011-11-20 15:47:49 +07:00
Anatoliy Chakkaev d7fbf1a575 Tune async validation hooks 2011-11-20 15:26:36 +07:00