Commit Graph

60 Commits

Author SHA1 Message Date
Anatoliy Chakkaev e0f5f45b05 List improvements 2012-09-11 20:51:31 +04:00
Anatoliy Chakkaev e938a814e8 Added typed lists support 2012-09-10 19:57:21 +04:00
Anatoliy Chakkaev a3963485f5 Merge branch 'master' of github.com:1602/jugglingdb 2012-08-24 12:22:22 +04:00
Anatoliy Chakkaev e46716f9d2 Changed validatable inheritance, fixed issue with belongsTo #113 2012-08-24 12:22:02 +04:00
Mike P 7003a3e8c7 Update lib/abstract-class.js
make sure that callback is called when there are no records or data in the all method
2012-08-18 11:22:00 -03:00
Anatoliy Chakkaev d11293dc94 Provide additional info about collection 2012-08-16 14:21:46 +04:00
Anatoliy Chakkaev a54961923d Update postgres 2012-08-13 10:27:18 +04:00
Anatoliy Chakkaev 752e711bca Merge pull request #103 from Katoka/master
Modified my previous pull requests commit
2012-07-14 05:11:06 -07:00
Taner Topal 3f0a3f526b modified destroyAll 2012-07-13 15:53:22 +02:00
Jude Lam 913f9d4fc1 Added fix to the abstract-class.js file for issue #72. The fix is resolved by by5739. 2012-07-08 21:20:11 -04:00
Anatoliy Chakkaev 40c9923053 Coverage added to gitignore 2012-05-29 15:16:24 +04:00
Anatoliy Chakkaev 7d748e9c02 Upsert with setters 2012-04-19 20:06:38 +04:00
Anatoliy Chakkaev 222b457b3f Setters enabled in new and create 2012-04-19 19:01:40 +04:00
Henri Bergius 6a777c00ac Prevent data from leaking to global 2012-04-13 18:58:23 +02:00
Anatoliy Chakkaev 881a5b49fc Fix mongoose adapter find 2012-04-11 23:39:11 +04:00
Anatoliy Chakkaev 2ce44db4ba Tune propertyChanged behavior 2012-04-11 23:31:10 +04:00
Anatoliy Chakkaev df57805b94 Turn off caching 2012-04-11 19:36:10 +04:00
Anatoliy Chakkaev 8dafb424ed Not strict equal for scoped find, trigger beforeUpdate with data 2012-04-09 20:24:35 +04:00
Anatoliy Chakkaev 40b4d28a1a Fix scoped find method 2012-04-07 17:43:15 +04:00
Anatoliy Chakkaev 6ee7de0716 Document 2012-03-27 18:22:24 +04:00
Anatoliy Chakkaev 30d0818eed Fix multiple queries issue #51 2012-03-25 15:37:44 +04:00
Anatoliy Chakkaev fa8a587215 Delayed database calls 2012-03-24 17:50:52 +04:00
Anatoliy Chakkaev c06f28f433 Support upsert 2012-03-22 23:46:16 +04:00
Taner Topal 07edcdce22 Implemented destroyAll for sub-scopes 2012-03-21 12:12:13 +01:00
Anatoliy Chakkaev 4ec9757503 Added contributors, MRU cache cleanup, closes #46 2012-03-16 18:42:02 +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 7f073a4622 Test belongsTo 2012-03-01 21:26:52 +04:00
1602 61cad1c89e Merge pull request #27 from patrickotoole/master
Modified belongsTo method
2012-02-21 13:47:40 -08:00
Anatoliy Chakkaev e8c6f68353 Add schema.isActual and automigrate on sqlite start 2012-02-20 22:33:11 +04:00
Rick O'Toole e94787724b changed belongsTo so grabs the belongs to relationship properly 2012-02-07 19:55:49 -10: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 08cc5eb105 Return name of type 2012-01-18 19:20:05 +04:00
Anatoliy Chakkaev c3835d089b Fix postgres adapter 2012-01-10 19:43:32 +04: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 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
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
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 c96cf9f248 Async flow for hooks 2011-11-20 12:36:15 +07:00
Anatoliy Chakkaev 3b2b57eb7b Async validations hooks 2011-11-19 15:58:49 +07:00
Anatoliy Chakkaev e55b29e479 Pass instance as callback second arg when validation fails 2011-11-18 16:00:11 +07:00
Anatoliy Chakkaev 894a924488 Hookable validations without breaking functionality 2011-11-17 14:00:12 +07:00