Commit Graph

2652 Commits

Author SHA1 Message Date
Timothy Marks a565dbbd12 Fixes issue where only id would be saved when updating an existing object for mongodb driver.
.save instead of .update was being called which would persist only a
data object with the id value to the database on doing a save of an
existing object.
2012-07-28 22:37:48 +10:00
Dombi Attila b5eaa99d5a Added stricter value checking on number. 2012-07-19 18:26:58 +03: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
Anatoliy Chakkaev c1ce788253 Merge pull request #101 from lforge/master
Fix for issue #72 beforeCreate trigger not firing properly
2012-07-11 05:22:09 -07: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 7a2e300181 Allow relative driver paths, adopt for node 0.8 2012-07-02 15:59:44 +04:00
Dombi Attila e4527856ad The updateAttribute callback doesn't behaves as its described. It should send the object instance alongside the error too. 2012-06-26 15:44:57 +03:00
Anatoliy Chakkaev 11fc70b89a Merge branch 'master' of github.com:1602/jugglingdb 2012-06-25 14:13:38 +04:00
Anatoliy Chakkaev 66fd977fd4 Wrap database name with quotes 2012-06-25 14:13:08 +04:00
Dombi Attila e1bd92b52a fix sql error when initializing models with empty Number property. It should return NULL when a number is empty 2012-06-19 13:13:59 +03:00
Matt Huggins f3abbf13b6 Fix PostgreSQL query offset 2012-06-10 19:10:18 -04:00
Aurélien Thieriot d333fe1d30 First version of a cradle adapter 2012-06-10 16:51:56 +02:00
Anatoliy Chakkaev 9e2b9e1272 Merge pull request #89 from Wizek/master
Call back even if the collection was empty to begin with.
2012-06-05 16:37:56 -07:00
Wizek 518a324912 https://groups.google.com/d/msg/railwayjs/4YWICL6EAOg/ebCxGkQ5eQcJ 2012-06-06 02:21:39 +03:00
Anatoliy Chakkaev 2bff27fe2d Fix coding style 2012-06-02 22:42:22 +04:00
Anatoliy Chakkaev 2dae68b5e0 Fix coding style 2012-06-02 22:41:28 +04:00
Anatoliy Chakkaev 418cc03a27 Adopt postgres stuff 2012-06-02 22:33:29 +04:00
Anatoliy Chakkaev 40c9923053 Coverage added to gitignore 2012-05-29 15:16:24 +04:00
Jonathan Spies 75f9373ae5 added custom collection name to mongoose 2012-05-17 22:13:29 -05:00
Anatoliy Chakkaev e1bd896292 Merge pull request #84 from JosephJNK/master
Added support for migrations to postgres adapter
2012-05-16 20:23:21 -07:00
Joseph Junker 3dcdb1e911 heavily modified sections of postgres adapter, postgres is now passing all tests 2012-05-16 14:39:43 -07:00
Joseph Junker 61a0795447 ran into some confusion with default values while changing postgres adapter, added postgres default values test 2012-05-16 14:19:25 -07:00
Joseph Junker 97ddbe6b54 migration_test is mysql specific, added postgres migration test 2012-05-16 14:18:11 -07:00
Jonathan Spies 3179c05b95 added multiple sort for mongoose 2012-05-13 23:28:37 -05:00
Anatoliy Chakkaev 8e312bfe61 Merge pull request #77 from bitmage/master
Postgres - Minor Fix
2012-05-05 04:27:00 -07:00
Anatoliy Chakkaev 9a5c252428 Merge pull request #78 from robscott/patch-1
Fixes mysql adapter 'neq' condition.
2012-05-05 04:25:41 -07:00
Rob Scott 5f0514a37c Fixes mysql adapter 'neq' condition. 2012-05-04 15:19:59 -03:00
bitmage 64cfb9ee01 added double quotes to field names 2012-05-03 10:28:08 -07:00
Anatoliy Chakkaev 2b67400525 Support modular railway 2012-05-03 02:15:09 +04:00
Anatoliy Chakkaev 7d748e9c02 Upsert with setters 2012-04-19 20:06:38 +04:00
Anatoliy Chakkaev 619377b9c7 Added semicov dependency 2012-04-19 19:22:08 +04:00
Anatoliy Chakkaev 16a1c21d9c Fix sql adapters 2012-04-19 19:20:10 +04:00
Anatoliy Chakkaev 222b457b3f Setters enabled in new and create 2012-04-19 19:01:40 +04:00
Anatoliy Chakkaev 02138b8965 Merge branch 'master' of github.com:1602/jugglingdb 2012-04-19 03:21:14 +04:00
Anatoliy Chakkaev 1b83266fd6 Jslinize if blocks, not strict equal for ids on uniqueness checking 2012-04-19 03:20:44 +04:00
Anatoliy Chakkaev aef8adb557 Merge pull request #71 from bergie/master
Prevent data from leaking into local scope on updateAttribute
2012-04-14 06:37:41 -07:00
Henri Bergius 6a777c00ac Prevent data from leaking to global 2012-04-13 18:58:23 +02:00
Anatoliy Chakkaev 221c3d4c83 Merge branch 'master' of github.com:1602/jugglingdb 2012-04-11 23:39:35 +04: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 a02fbbb4df Merge pull request #61 from netsgnut/fix-pg-log
Fix 'undefined is not a function' problem at postgres adapter
2012-04-11 12:10:01 -07:00
Kelvin Wong f16d0573c5 Fix 'undefined is not a function' problem at postgres adapter 2012-04-12 01:51:55 +08:00
Anatoliy Chakkaev 6be57cf454 Fix test: not strict equal when comparing ids 2012-04-11 19:52:46 +04:00
Anatoliy Chakkaev 6c0ac6df16 Merge branch 'master' of github.com:1602/jugglingdb 2012-04-11 19:37:53 +04:00
Anatoliy Chakkaev ff63db22eb Update version 2012-04-11 19:36:30 +04:00
Anatoliy Chakkaev df57805b94 Turn off caching 2012-04-11 19:36:10 +04:00
Anatoliy Chakkaev 73481ac5b9 Merge pull request #60 from bergie/master
Enable connecting to Redis with URL
2012-04-10 07:38:47 -07:00
Henri Bergius d7cc8b2d51 Some safeties to URL handling 2012-04-10 16:30:55 +02:00
Henri Bergius 24e051b1e9 Enable setting up Redis with URL 2012-04-10 15:47:11 +02:00