Commit Graph

3012 Commits

Author SHA1 Message Date
Anatoliy Chakkaev 08ad920a2c Freeze postgres version 2012-08-14 19:16:46 +04:00
Anatoliy Chakkaev 7b7fa8a0ed Move to latest mongoose / fix api 2012-08-14 19:12:42 +04:00
Anatoliy Chakkaev 0defc804c0 Remove JSON serialization test case 2012-08-14 18:47:59 +04:00
Timothy Marks 59ba68494d Adds replica-set support to the mongodb native driver.
Adds replica set support through .rs property for replica set name and
accepts similar url for replica set definition to mongoose.js driver.
2012-08-15 00:23:23 +10:00
Timothy Marks eaa2f026b0 Adds authenticate to db.open if a username and password are set. 2012-08-14 22:31:49 +10:00
Anatoliy Chakkaev a54961923d Update postgres 2012-08-13 10:27:18 +04:00
Anatoliy Chakkaev 134799763c Merge branch 'mongodb-driver' of https://github.com/imothee/jugglingdb 2012-08-13 10:16:22 +04:00
Anatoliy Chakkaev efdc4548fc JSON in tests, Schema.JSON published 2012-08-13 10:16:01 +04:00
Anatoliy Chakkaev 5a981f4880 Merge pull request #106 from imothee/mongoose-replica-set
Adds Replica Set Support to JugglingDB Mongoose Adapter
2012-08-12 22:47:50 -07:00
Timothy Marks 2fb97e2c59 Adds Replica Set Support to JugglingDB Mongoose Adapter 2012-08-11 17:06:26 +10:00
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