Ritchie Martori
6856ff7254
Add geo filtering for memory adapter
2013-06-24 15:21:59 -07:00
Ritchie Martori
ff37cc001a
Fix incorrect variable name in updateAttributes
2013-06-21 15:01:40 -07:00
Ritchie Martori
0a3e642c9e
Fix memory adapter updateAttributes issue.
...
Callback with an error if an id was not provided or if a model was not
found by that id.
2013-06-21 14:56:23 -07:00
Ritchie Martori
7e23393e99
Fixed memory adapter filtering + asteroid compatibility upddates
2013-06-12 15:45:31 -07:00
Anatoliy Chakkaev
e13149edc5
Added skip/limit to memory adapter
2013-05-13 22:04:29 -07:00
Anatoliy Chakkaev
2fd2157d28
Fix dates in memory adapter
2013-04-06 14:50:23 +04:00
Anatoliy Chakkaev
cf5ed5b877
Transactions
2013-04-01 17:49:12 +04:00
Anatoliy Chakkaev
5b429e8d41
Fix memory adapter: broken upd attrs
2013-03-30 21:07:16 +04:00
Anatoliy Chakkaev
e75029ebbf
Fix memory adapter and test
2013-03-27 17:10:13 +04:00
Anatoliy Chakkaev
cba87ce339
Query testing: findOne
2013-03-27 00:50:13 +04:00
Anatoliy Chakkaev
58e2349575
Fix memory adapter to support lowercase desc order
2013-03-26 23:33:40 +04:00
Anatoliy Chakkaev
b59fb01b4a
Upd memory adapter to work with undefined in dataset
2013-03-25 01:28:08 +04:00
Scott Nonnenberg
bf3234b9f0
http adapter: pre/postProcess, fix destroy and all
...
preProcess() ensures that null fields are excluded from the wire. I've experienced jQuery/node/express 3.0 turning nulls into empty strings.
postProcess() ensures that Date fields are actually turned back into dates. JSON, you're annoying sometimes.
destroy() is now implemented.
all() now URL encodes any query filters provided.
2013-03-06 18:05:30 -08:00
Anatoliy Chakkaev
d03dbfcb99
Throw error when model is not configured for webservice
2013-01-23 03:22:31 +07:00
Anatoliy Chakkaev
91fee1d565
Make memory adapter async
2013-01-22 01:21:43 +07:00
Anatoliy Chakkaev
02b7f707ff
Added http (WebService) adapter
2013-01-20 23:05:45 +07:00
Sascha Gehlich
ed8ff0ca36
let the adapter decide when to load the schema
2012-12-16 14:08:51 +01:00
Anatoliy Chakkaev
100b5322c6
Remove sql adapters and tests
2012-12-14 19:25:32 +04:00
Anatoliy Chakkaev
91c90ef3ad
Remove sqlite3 adapter
2012-12-14 17:12:13 +04:00
Anatoliy Chakkaev
a62aab180d
Removed nosql adapters (moved to own repos)
2012-12-14 01:50:02 +04:00
Tim Griesser
fe4f19106a
allow socketPath for mysql config
2012-12-12 15:16:23 -05:00
Nicholas Westlake
85535dc955
added nano adapter
2012-12-09 03:13:09 -06:00
Dominik Krejcik
035c42eb9d
Log Redis connection errors instead of crashing
2012-11-29 01:33:19 +00:00
Nathan Cartwright
596cd3d461
update mongodb adapter
2012-11-08 14:54:36 -06:00
Anatoliy Chakkaev
3731447787
Merge branch 'master' of github.com:1602/jugglingdb
2012-11-06 19:53:04 +04:00
Anatoliy Chakkaev
47d72ce14e
Cast id to string before creation, fix #145
2012-11-06 19:52:37 +04:00
Anatoliy Chakkaev
fb075fdd97
Merge pull request #144 from muneebs/master
...
update cradle.js
2012-11-05 09:09:39 -08:00
taiyoh
30e9983abf
remove commentouted source
2012-11-05 22:30:57 +09:00
taiyoh
885e9188f8
fixed type check strictly
2012-11-05 22:22:47 +09:00
Anatoliy Chakkaev
e10c42ed1b
Fix id:null issue #98
2012-11-05 08:08:32 +04:00
Muneeb Samuels
75c96bdaa9
- fixed typo in updateOrCreate method.
2012-11-04 22:24:15 +02:00
Muneeb Samuels
d248de7f9d
- added views to do .all queries, it speeds up the query.
2012-11-04 22:22:00 +02:00
Muneeb Samuels
53272e6fd6
Merge remote-tracking branch 'origin/master'
...
Conflicts:
lib/adapters/cradle.js
2012-11-04 21:30:42 +02:00
Muneeb Samuels
a3f30a112a
- fixed typo in updateOrCreate method.
...
- added views to do .all queries, it speeds up the query.
2012-11-04 21:30:08 +02: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
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
e6be50eb81
Fix broken mysql adapter after merging pull request
2012-10-22 00:43:00 +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
a31a10a5ae
Merge branch 'master' of github.com:1602/jugglingdb
2012-10-13 18:26:15 +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
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