Commit Graph

301 Commits

Author SHA1 Message Date
Anatoliy Chakkaev c7409be559 Fix for reading yml files 2012-12-24 22:17:23 +04:00
Anatoliy Chakkaev e8ef71c431 Only update id if it does not present in resulting dataset 2012-12-24 00:31:32 +04:00
Anatoliy Chakkaev 05a6d686aa Strict adapter checking 2012-12-21 18:26:21 +04:00
Anatoliy Chakkaev 3dc24b8f51 Merge branch 'master' of github.com:1602/jugglingdb 2012-12-21 12:56:45 +04:00
Anatoliy Chakkaev 3038eb33fd Do not throw on missing adapter, just display warning 2012-12-21 12:56:16 +04:00
Sascha Gehlich 7ec8ab55d1 updateAttributes data defaults to {} 2012-12-19 19:29:14 +01:00
Anatoliy Chakkaev 0d433c1c5d merge 2012-12-19 19:00:00 +04:00
Anatoliy Chakkaev acc0a71bde Update railwayjs name, add ability to skip tests 2012-12-19 18:57:21 +04:00
Anatoliy Chakkaev 3c4fd78014 Merge pull request #177 from saschagehlich/js_config
allow database.js config
2012-12-17 01:30:21 -08:00
Sascha Gehlich 252a067df7 allow database.js config 2012-12-17 10:25:27 +01:00
Sébastien Drouyer 519d6cf7fb Merge github.com:1602/jugglingdb 2012-12-16 23:58:53 +01:00
Sébastien Drouyer fbe04233cc added some documentation for include and all function 2012-12-16 19:44:14 +01:00
Sébastien Drouyer 6db1a003d4 cleaned some old comments 2012-12-16 19:19:53 +01:00
Anatoliy Chakkaev bc250b1bb2 Merge pull request #169 from saschagehlich/schema_wait_connect
let the adapter decide when to load the schema
2012-12-16 10:10:04 -08:00
Sébastien Drouyer 708265df22 merged + removed preprocessdata callback as it seems it isn't usefull 2012-12-16 18:58:52 +01:00
Sébastien Drouyer 175ad3141d small fix on relations 2012-12-16 18:20:39 +01:00
Sébastien Drouyer c6bddf170a added include functionnality to abstract class and mysql 2012-12-16 18:05:36 +01:00
Sascha Gehlich 53e2dcf30b add additional types stored in Schema.types to schema context 2012-12-16 14:29:53 +01:00
Sascha Gehlich ed8ff0ca36 let the adapter decide when to load the schema 2012-12-16 14:08:51 +01:00
Anatoliy Chakkaev 5208298a67 Fix broken yml config, closes #159 2012-12-15 16:05:32 +04:00
Sébastien Drouyer 24ccb0ffc2 added relations key 2012-12-14 16:28:29 +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
Anatoliy Chakkaev 91cde064a6 Merge branch 'master' of github.com:1602/jugglingdb 2012-12-10 17:48:55 +04:00
Anatoliy Chakkaev f929272fa3 Fix cradle+railwayjs 2012-12-10 17:48:22 +04: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
Anatoliy Chakkaev c252926f34 Docs and style in lib/list 2012-11-20 18:37:04 +07:00
Anatoliy Chakkaev b3ce33805c Namespace adapters 2012-11-14 11:29:29 +07:00
Muneeb Samuels fa50e0e5e8 when using cradle if we don't wait for the schema to be connected, the models fails to load correctly. 2012-11-10 20:14:13 +02: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