Commit Graph

2930 Commits

Author SHA1 Message Date
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
Anatoliy Chakkaev f26096aab4 Merge pull request #142 from sdrdis/master
Fixes on common_test
2012-11-03 08:25:55 -07:00
Sébastien Drouyer b3d92131b3 limited tests to the one I know 2012-11-03 15:53:29 +01:00
Sébastien Drouyer 7930af6eba trying a fix for redis 2012-11-03 15:35:31 +01:00
Sébastien Drouyer 4c8e4d8e4d fixed regression for postgres 2012-11-03 15:25:15 +01:00
Sébastien Drouyer 36b1d91761 fixed tests for mongodb 2012-11-03 14:48:57 +01:00
Sébastien Drouyer 827d32ec47 fixed issue for sqlite 2012-11-03 13:42:40 +01:00
Sébastien Drouyer 77ead6d123 Merge git://github.com/1602/jugglingdb 2012-11-03 13:34:56 +01:00
Sébastien Drouyer c626587d8f added log to data (TEMPORARY) to debug on travis 2012-11-03 13:19:24 +01:00
Anatoliy Chakkaev 0b9454e440 Merge branch 'master' of github.com:1602/jugglingdb 2012-11-03 06:33:26 +04:00
Anatoliy Chakkaev cdef6aea8a 0.1.27 2012-11-03 06:33:03 +04:00
Anatoliy Chakkaev 0c24dfa035 Merge pull request #141 from sdrdis/master
Added caching in relationships (+ test cases) (enhanced)
2012-11-02 19:20:09 -07:00
Sébastien Drouyer 8f41fdf90d fixed indentation + adapted to markdown syntax 2012-11-03 02:05:27 +01:00
Sébastien Drouyer 5aa0efd818 corrected indentation issues 2012-11-03 01:56:53 +01:00
Sébastien Drouyer fe8ed86301 small sentence fixes + added usage examples in belongsTo comments 2012-11-03 01:39:35 +01:00
Sébastien Drouyer 89b8329764 add test cases for caching in hasMany and fixed test cases for caching in belongsTo 2012-11-01 01:17:09 +01:00
Sébastien Drouyer 46b7747c87 fixed and enhanced caching in getters and setters in abstract-class 2012-11-01 01:13:16 +01:00
Sébastien Drouyer 6d8454c5ac added test case for the cache of belongsTo 2012-11-01 00:15:23 +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 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
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 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