Commit Graph

413 Commits

Author SHA1 Message Date
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 3952c329df Remove sequelize tests 2012-03-10 16:12:17 +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 d3231e7484 Allow custom table name in mysql 2012-03-07 11:29:08 +04: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
Anatoliy Chakkaev 35e872368a Default should not be handled by database engine 2012-02-20 22:44:02 +04:00
Anatoliy Chakkaev e8c6f68353 Add schema.isActual and automigrate on sqlite start 2012-02-20 22:33:11 +04:00
Anatoliy Chakkaev 63c3a4c4f2 Remove unnecesare code from test helper 2012-02-04 18:17:27 +04:00
Anatoliy Chakkaev 9434ff4169 Disable advanced queries for redis and memory 2012-02-01 21:36:42 +04:00
Anatoliy Chakkaev fb79ca2bf8 Advanced queries for sql-s and mongodb 2012-02-01 21:33:08 +04:00
Anatoliy Chakkaev 4442b42ace Disable neo4j for travis 2012-01-30 23:45:06 +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 f096849a06 Setup postgres for travis 2012-01-30 17:33:45 +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 f09bb40035 Adjust test 2012-01-20 00:29:12 +04:00
Anatoliy Chakkaev 01955a9de5 Adjust test 2012-01-20 00:25:50 +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 f0a34bf008 Redis-adapter: test sorting, support alpha-sort, fix destroyAll issue 2012-01-18 22:49:30 +04:00
Anatoliy Chakkaev 08cc5eb105 Return name of type 2012-01-18 19:20:05 +04:00
Anatoliy Chakkaev 1f9038834c Update package 2012-01-16 03:11:00 +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
Anatoliy Chakkaev 1ad0d91e57 Describe test case 2011-12-11 23:25:13 +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 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 8b720c30f8 Keep dirty state for cached objects 2011-11-23 12:38:04 +07:00
Anatoliy Chakkaev d7fbf1a575 Tune async validation hooks 2011-11-20 15:26:36 +07:00
Anatoliy Chakkaev 3b2b57eb7b Async validations hooks 2011-11-19 15:58:49 +07:00
Anatoliy Chakkaev fbf118695e Async validations 2011-11-19 12:43:02 +07:00
Anatoliy Chakkaev 9dcd976546 Rewrite custom validation 2011-11-19 01:59:46 +07:00
Anatoliy Chakkaev dd1e54ffec Some coding style fixes 2011-11-17 13:18:39 +07:00
1602 9370a96a2b Merge pull request #3 from juggy/master
Custom validations
2011-11-16 21:50:08 -08:00
Julien Guimont 39bbece115 Added active record style callbacks and hooks. Before and after create, save, update, destroy and after initialization. 2011-11-16 23:28:13 -05:00
Julien Guimont fa9676779b Add the ability to create custom validation on fields 2011-11-16 22:37:43 -05:00
Anatoliy Chakkaev 683833b220 Accept non-url format in mongoose adapter 2011-11-05 17:16:34 +07:00
Anatoliy Chakkaev b5985e445d Move conditions to `where` section, fix neo4j 2011-11-04 14:30:25 +07:00
Anatoliy Chakkaev f251ac9a5b Mysql 2011-10-23 23:43:53 +04:00
Anatoliy Chakkaev 8b6c608c6c Ability to transparently close connection with database 2011-10-21 16:46:09 +04:00
Anatoliy Chakkaev ece00ceaaa Neo4j features 2011-10-16 21:21:08 +04:00
Anatoliy Chakkaev 8e05e59933 Scopes 2011-10-15 19:57:35 +04:00
Anatoliy Chakkaev 8a05e1ffad Conditional validations 2011-10-11 23:52:03 +04:00
Anatoliy Chakkaev 9de9e590d6 Apply defaults on create 2011-10-11 23:51:32 +04:00
Anatoliy Chakkaev 3eb3399855 Validate format, nullChecks everywhere 2011-10-10 21:34:50 +04:00
Anatoliy Chakkaev 54ddb55c49 Validations 2011-10-10 17:22:51 +04:00
Anatoliy Chakkaev 5a111089b3 Pre-release 2011-10-06 00:33:07 +04:00
Anatoliy Chakkaev c5da2b56a7 Redis indexes intersections 2011-10-05 18:47:26 +04:00
Anatoliy Chakkaev 5911ed34bb Added performance test 2011-10-05 00:18:25 +04:00
Anatoliy Chakkaev e281e7e8a6 Mongoose, tests versioned 2011-10-03 21:18:44 +04:00