Sébastien Drouyer
46b7747c87
fixed and enhanced caching in getters and setters in abstract-class
2012-11-01 01:13:16 +01:00
Muneeb Samuels
6f973f9fa5
cradle adapter update
...
using views speeds up the query by only fetching the documents for the model being queried.
2012-10-31 01:34:39 +02:00
Muneeb Samuels
2cc1896864
using views speeds up the query by only fetching the documents for the model being queried.
2012-10-31 01:30:55 +02:00
Anatoliy Chakkaev
83695513f9
Globally published models for railway 1.0
2012-10-30 03:41:45 +04:00
Sébastien Drouyer
0633737ac7
added caching functionnality
2012-10-30 00:37:19 +01:00
Anatoliy Chakkaev
e0f5f18774
Models publishing for both railway stable and unstable
2012-10-29 22:22:40 +04:00
Anatoliy Chakkaev
f7aed3a814
Fix railway 1.0 support
2012-10-29 18:11:43 +04:00
Anatoliy Chakkaev
8cee0ec9b2
Merge pull request #137 from sdrdis/master
...
Enhanced inq and nin for mysql and postgres and added test cases
2012-10-28 18:06:54 -07:00
Anatoliy Chakkaev
ae193c9064
Merge branch 'master' of github.com:1602/jugglingdb
2012-10-29 04:05:26 +04:00
Anatoliy Chakkaev
c8322eea31
Fix instanceof checking
2012-10-29 04:05:05 +04:00
Anatoliy Chakkaev
8b4da9e5e9
Remove globals, read yaml
2012-10-29 03:21:51 +04:00
Sébastien Drouyer
fc46de162f
generalize escape on IN and NOT IN values
2012-10-27 20:48:21 +02:00
Sébastien Drouyer
d5b0003350
Fixed postgres adapter for IN and NIN when values are strings and where there is 0 value
2012-10-27 20:47:25 +02:00
Sébastien Drouyer
f17716272c
Fixed IN and NOT IN when searching on strings
2012-10-27 20:00:40 +02:00
Sébastien Drouyer
ad0ea2602f
Fixed bug for IN on NOT IN - corrected
...
When length of values for IN and NOT IN is 0, it causes an SQL error: "IN ()" and "NOT IN ()" doesn't work in MySQL.
I corrected my first pull request :
https://github.com/1602/jugglingdb/pull/135
2012-10-24 00:28:28 +03:00
Anatoliy Chakkaev
c27a624d02
Fix inheritance
2012-10-22 17:33:57 +04:00
Anatoliy Chakkaev
e6be50eb81
Fix broken mysql adapter after merging pull request
2012-10-22 00:43:00 +04:00
Anatoliy Chakkaev
ee6c2bff21
Merge pull request #133 from sdrdis/patch-1
...
Fixed bug (oversight ?) on alter table
2012-10-21 13:17:48 -07:00
Anatoliy Chakkaev
c8f6d416a6
Remove unused cached relations, closes #134
2012-10-22 00:14:05 +04:00
Sébastien Drouyer
d1bb0126e3
Fixed bug (oversight ?) on alter table
...
Fixed bug (oversight ?) on alter table : it was still model name.
2012-10-21 01:51:30 +03:00
Muneeb Samuels
0203d52728
Update lib/adapters/cradle.js
...
fixed an issue where if no filters were passed in, the .all query would throw an exception
2012-10-19 23:49:01 +03:00
Muneeb Samuels
03f9c24642
limit + skip
...
Added filter limit + filter skip for query .all
2012-10-19 01:27:02 +03:00
Anatoliy Chakkaev
4fe9759afc
Fix typo, start new release preview
2012-10-16 13:12:34 +04:00
Anatoliy Chakkaev
575a29d4af
Print properly formatted object
2012-10-16 03:15:29 +04:00
Anatoliy Chakkaev
96e9079977
Remove lazy collections, remove unused caching stuff, unsupport node 0.4 (travis)
2012-10-16 02:22:40 +04:00
Anatoliy Chakkaev
dbb39bf43e
Further optimizations: remove hasOwnProperty backward compat
2012-10-16 01:29:30 +04:00
Anatoliy Chakkaev
f6d8b08631
Proper collection caching
2012-10-14 15:02:13 +04:00
Anatoliy Chakkaev
f59cf0ddbf
Specify collection length
2012-10-13 19:19:53 +04:00
Anatoliy Chakkaev
a31a10a5ae
Merge branch 'master' of github.com:1602/jugglingdb
2012-10-13 18:26:15 +04:00
Anatoliy Chakkaev
488bc68e05
Optimize collection
2012-10-13 18:25:50 +04:00
Anatoliy Chakkaev
1ec419aa42
Better performance on big datasets read
2012-10-13 17:59:25 +04:00
Mikko Lehtinen
075699ee27
Fix for redis adapter when finding records filtered with multiple attributes
2012-10-09 21:19:38 +03:00
Anatoliy Chakkaev
01b9307e1c
Better safeRequire
2012-10-07 14:54:20 +04:00
clarktlaugh
f3bafd7bf9
Update lib/adapters/postgres.js
...
fix to add quotes around key so that it works for mixed-case correctly
2012-09-29 20:35:39 -05:00
Anatoliy Chakkaev
451000806d
Merge mongoose multisort
2012-09-27 11:24:20 +04:00
Anatoliy Chakkaev
b6cecc4b78
Added cradle adapter
2012-09-26 09:18:43 +04:00
Anatoliy Chakkaev
ab4844b009
Merge pull request #95 from dombesz/master
...
Bug on initializing models with empty number property on postgresql.
2012-09-25 21:19:56 -07:00
Anatoliy Chakkaev
2cbce0d843
Merge pull request #125 from nashadalam/patch-1
...
Mongoose Adapter Single Index support
2012-09-25 21:10:16 -07:00
Anatoliy Chakkaev
46e65b7e63
Update mysql to 2.0
2012-09-26 08:08:27 +04:00
Anatoliy Chakkaev
8cd1ec2e9e
Fix redis2 indexes cleanup
2012-09-25 08:39:23 +04:00
Anatoliy Chakkaev
cca1cbb3f8
Not strict equal when matching ids in embedded lists
2012-09-20 16:02:48 +04:00
Nashad Alam
45e1df09db
Mongoose Adapter Single Index support-Spacing Fix
2012-09-20 14:22:36 +10:00
Nashad Alam
768ba2c677
Mongoose Adapter Single Index support
2012-09-20 14:13:07 +10:00
Matt Huggins
c3dd47f448
Allow for IN, NOT IN, and != queries in postgres
2012-09-13 20:15:46 -04:00
Anatoliy Chakkaev
26905651a1
Fix standard_conforming_strings for postgres
2012-09-13 23:35:11 +04:00
Mikxail
2baabb624f
Update lib/adapters/memory.js
...
Multiple sorting with full support asc/desc
2012-09-12 15:26:20 +04:00
Anatoliy Chakkaev
ffbc9482f7
Make property configurable to pass tests
2012-09-11 23:53:19 +04:00
Anatoliy Chakkaev
c8b8012e28
List API improvements
2012-09-11 23:22:55 +04:00
Anatoliy Chakkaev
e0f5f45b05
List improvements
2012-09-11 20:51:31 +04:00
Anatoliy Chakkaev
c3af8b2aea
Fix postgres
2012-09-10 19:59:06 +04:00
Anatoliy Chakkaev
b481e4c096
Merge branch 'master' of github.com:1602/jugglingdb
2012-09-10 19:57:40 +04:00
Anatoliy Chakkaev
e938a814e8
Added typed lists support
2012-09-10 19:57:21 +04:00
Sam Taylor
c118786cea
fix global leak in postgres adapter
2012-09-09 17:00:46 +01:00
Anatoliy Chakkaev
e39691763f
Revert sort-only indexes
2012-09-09 19:54:33 +04:00
Anatoliy Chakkaev
dee112a35c
Redis sort-only indexes
2012-09-09 19:30:01 +04:00
Anatoliy Chakkaev
562856f1bd
Fix in-memory adapter tests
2012-09-09 17:17:08 +04:00
Anatoliy Chakkaev
a2618dd3a2
Fix typo, tune redis2
2012-09-09 16:51:53 +04:00
Anatoliy Chakkaev
44591111b6
Rewritten redis
2012-09-08 17:03:49 +04:00
Anatoliy Chakkaev
7b8321b3e4
Refactored and optimized redis adapter
2012-09-08 16:57:57 +04:00
Anatoliy Chakkaev
d962a22063
Fix postgres offset feature
2012-09-04 17:33:15 +04:00
Anatoliy Chakkaev
5a65b4f1c2
Merge branch 'master' of github.com:1602/jugglingdb
2012-09-04 17:24:18 +04:00
Anatoliy Chakkaev
2aede39246
Bump 0.1.14. Fix typo in redis adapter
2012-09-04 17:23:57 +04:00
Anatoliy Chakkaev
562d06b83f
Merge pull request #93 from mhuggins/pg-offset
...
Fix PostgreSQL query offset (issue #83 )
2012-08-31 03:42:59 -07:00
Anatoliy Chakkaev
028049f8b2
Callback called only once + database selection
2012-08-28 13:59:40 +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
Anatoliy Chakkaev
60fad51623
Merge pull request #111 from mypark/master
...
fixes to make sure callback was called on the all method and to get neo4j adapter working with railway
2012-08-23 15:44:45 -07:00
Anatoliy Chakkaev
3faaa56450
More information about alter in isActual
2012-08-20 11:01:08 +04:00
Anatoliy Chakkaev
cc40d15082
Fix autoupdate for mysql
...
;
2012-08-20 00:44:15 +04:00
Anatoliy Chakkaev
12eadb80ae
Autoupdate multicolumn indexes
2012-08-19 19:40:21 +04:00
Mike P
94fb10d560
I put the delete in the wrong line, moved down..
2012-08-18 12:42:43 -03:00
Mike P
3ca47526e5
re-adding fix to not save id as a property on update
2012-08-18 12:40:58 -03:00
Mike P
df798791fa
Update lib/adapters/neo4j.js
...
removing the change to delete the id property in the cleanup since that fails the unit test
2012-08-18 11:47:15 -03:00
Mike P
53831da913
Update lib/adapters/neo4j.js
...
don't save an id property on update since there is already a node id from neo4j
2012-08-18 11:24:12 -03: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
62d0e459c0
Single-column indexes in mysql (autoupdate)
2012-08-17 23:39:22 +04:00
Anatoliy Chakkaev
62178c26c9
Unnecessary error on mongodb authentication. Skip checking
2012-08-17 22:48:14 +04:00
Anatoliy Chakkaev
d2d602117f
Merge pull request #110 from imothee/mongodb-replicaset
...
Mongodb native driver replicaset and authentication
2012-08-16 23:33:42 -07:00
Anatoliy Chakkaev
cfda58f710
Fix typo, bump version
2012-08-17 00:32:04 +04:00
Anatoliy Chakkaev
d11293dc94
Provide additional info about collection
2012-08-16 14:21:46 +04:00
Anatoliy Chakkaev
7b7fa8a0ed
Move to latest mongoose / fix api
2012-08-14 19:12:42 +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
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
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
Wizek
518a324912
https://groups.google.com/d/msg/railwayjs/4YWICL6EAOg/ebCxGkQ5eQcJ
2012-06-06 02:21:39 +03:00