Commit Graph

270 Commits

Author SHA1 Message Date
Anatoliy Chakkaev b3ce33805c Namespace adapters 2012-11-14 11:29:29 +07:00
Anatoliy Chakkaev cb9f0c3d16 Better docs, no warning 2012-11-10 09:28:07 +04: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
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 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