Commit Graph

346 Commits

Author SHA1 Message Date
Sébastien Drouyer 4c95f1dcad added test cases for IN and NOT IN. Only in mysql and postgres for the moment 2012-10-27 20:51:45 +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
Anatoliy Chakkaev 799fe31b10 Merge pull request #136 from sdrdis/patch-3
Fixed bug for IN on NOT IN - corrected
2012-10-23 14:54:02 -07: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 9332dc0473 Merge branch 'master' of github.com:1602/jugglingdb 2012-10-22 00:15:05 +04:00
Anatoliy Chakkaev 47bd310c92 Ignored v8.log 2012-10-22 00:14:40 +04: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
Anatoliy Chakkaev 52b830de40 Update README.md 2012-10-18 18:13:33 +04: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 da9ff3e1e8 Switch test coverage reporting off for travis 2012-10-14 17:04:24 +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
Anatoliy Chakkaev 605f45dd35 Merge pull request #130 from mikkolehtinen/master
Fix for redis adapter when finding records filtered with multiple attributes
2012-10-09 11:29:49 -07: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
Anatoliy Chakkaev bf20e000dd Merge branch 'master' of github.com:1602/jugglingdb 2012-10-01 12:21:37 +04:00
Anatoliy Chakkaev ef93cddf45 Fix memory adapter tests 2012-10-01 12:20:55 +04:00
Anatoliy Chakkaev d54cf8f0c1 Merge pull request #127 from clarktlaugh/master
add quotes around key to allow mixed-case to work correctly
2012-10-01 01:06:26 -07: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 d8981056f5 Merge branch 'master' of github.com:1602/jugglingdb 2012-09-26 08:23:26 +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 797ae84a1c Configure travis services 2012-09-26 08:17:19 +04: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
Anatoliy Chakkaev 4ce4a0bc2c Merge pull request #121 from mhuggins/postgres-in
Allow for IN, NOT IN, and != queries in PostgreSQL
2012-09-14 02:12:59 -07:00
Matt Huggins c3dd47f448 Allow for IN, NOT IN, and != queries in postgres 2012-09-13 20:15:46 -04:00
Anatoliy Chakkaev 6d33aaaa48 Prevent redis pussy riot 2012-09-14 00:54:46 +04:00
Anatoliy Chakkaev cb9f254795 Merge branch 'master' of github.com:1602/jugglingdb 2012-09-13 23:35:46 +04:00
Anatoliy Chakkaev 26905651a1 Fix standard_conforming_strings for postgres 2012-09-13 23:35:11 +04:00
Anatoliy Chakkaev 8389fa2de6 Merge pull request #120 from Mikxail/patch-1
Update lib/adapters/memory.js
2012-09-13 12:13:37 -07: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