Commit Graph

167 Commits

Author SHA1 Message Date
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
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 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