Commit Graph

698 Commits

Author SHA1 Message Date
Anatoliy Chakkaev 9fcd8235fe Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 23:50:28 +07:00
Anatoliy Chakkaev cefd79dbf6 Return null when findOne could not find record, closes #128 2013-01-22 23:47:14 +07:00
Anatoliy Chakkaev c882c162c2 Merge pull request #198 from anatoliychakkaev/master
Fixed for cs-compound
2013-01-22 08:29:47 -08:00
Anatoliy Chakkaev 0096c94d8f 0.2.0-13 2013-01-22 23:27:57 +07:00
Anatoliy Chakkaev 8cfa00a1b2 Work with cs-compound 2013-01-22 23:27:49 +07:00
1602 a770f20c08 One more fix in updateAttribute test with uniqueness validation 2013-01-22 03:54:06 +07:00
Anatoliy Chakkaev 188d4c7b4f Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 03:49:21 +07:00
Anatoliy Chakkaev 3919630d9a Update validations test 2013-01-22 03:48:12 +07:00
Anatoliy Chakkaev a1678a3802 Merge pull request #197 from anatoliychakkaev/master
Implement schema.extendModel(model, props)
2013-01-21 10:48:58 -08:00
Anatoliy Chakkaev 0f592d4bf5 Implement schema.extendModel, closes #157 2013-01-22 01:48:04 +07:00
Anatoliy Chakkaev a58ace2f6b Merge pull request #196 from anatoliychakkaev/master
findOrCreate, misc amends
2013-01-21 10:22:50 -08:00
Anatoliy Chakkaev 60a680f039 Add adapter (memory-bogus) test 2013-01-22 01:22:08 +07:00
Anatoliy Chakkaev 91fee1d565 Make memory adapter async 2013-01-22 01:21:43 +07:00
Anatoliy Chakkaev 9dbc8fa50b Implement findOrCreate, requested in #190 2013-01-22 01:21:31 +07:00
Anatoliy Chakkaev 71e1b5159e Merge pull request #195 from anatoliychakkaev/master
Test case for uniqueness validation
2013-01-21 09:48:52 -08:00
Anatoliy Chakkaev 40b64cfc5e Added test for #191 2013-01-22 00:48:10 +07:00
Anatoliy Chakkaev 4d47d8348d Revert hasMany change 2013-01-21 23:08:13 +07:00
Anatoliy Chakkaev ea01571450 Update readme: clienside, describe built-in adapters 2013-01-21 22:52:17 +07:00
Anatoliy Chakkaev 44d8fbe963 Merge branch 'master' of github.com:1602/jugglingdb 2013-01-21 22:42:46 +07:00
Anatoliy Chakkaev 1010d5d64d Merge pull request #192 from robblovell/hasmany
Hasmany
2013-01-21 07:42:01 -08:00
Anatoliy Chakkaev 56e63bdacf Merge pull request #194 from anatoliychakkaev/master
Allow to set model configuration
2013-01-21 07:00:16 -08:00
Anatoliy Chakkaev aaf671bf9b 0.2.0-12 2013-01-21 20:37:15 +07:00
Anatoliy Chakkaev d5758ec8be Added schema::model::set for railway 2013-01-21 20:29:41 +07:00
Anatoliy Chakkaev 1e79dbfc5f 0.2.0-11 2013-01-20 23:06:28 +07:00
Anatoliy Chakkaev 02b7f707ff Added http (WebService) adapter 2013-01-20 23:05:45 +07:00
Anatoliy Chakkaev bd325b7132 0.2.0-10 2013-01-19 20:54:48 +07:00
Anatoliy Chakkaev e9b7e89ee9 Accept adapter as first argument of Schema constructor 2013-01-19 20:50:53 +07:00
Anatoliy Chakkaev 5efd832881 Merge pull request #193 from autoric/master
.include does not always invoke callback
2013-01-18 12:28:56 -08:00
Erin Noe-Payne d4043d715f fix lost callback 2013-01-18 12:31:49 -05:00
Robb Lovell 84a9582bc0 attempted to write a test for hasmany all function. this commit has it commented out 2013-01-17 12:00:59 -08:00
Robb Lovell 6f9c495720 added 'all' method to hasMany in abstract-class.js to correctly support a 'many' collection. added .idea to .gitignore to ignore WebStorm projects. 2013-01-17 11:16:52 -08:00
Anatoliy Chakkaev fb8d0acc80 Merge branch 'master' of github.com:1602/jugglingdb 2013-01-15 17:55:08 +07:00
Anatoliy Chakkaev 282d685768 Updated readme 2013-01-15 17:53:35 +07:00
Anatoliy Chakkaev 89c154eb07 Merge pull request #187 from abroweb/master
configurable autoupdate
2013-01-08 06:19:28 -08:00
Asp3ctus 4f7ffb903e fix typo :) 2013-01-08 15:37:58 +06:00
Asp3ctus c78a4de375 app.enable('autoupdate') option support 2013-01-08 15:34:59 +06:00
Anatoliy Chakkaev 5062beb99b Travis env update, compare ids as strings 2012-12-24 22:47:49 +04:00
Anatoliy Chakkaev ba81bd8366 0.2.0-9 2012-12-24 22:18:01 +04:00
Anatoliy Chakkaev c7409be559 Fix for reading yml files 2012-12-24 22:17:23 +04:00
Anatoliy Chakkaev 1088146986 0.2.0-8 2012-12-24 00:31:41 +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 c08a220dda 0.2.0-7 2012-12-21 20:18:06 +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
Anatoliy Chakkaev c6cefa112f Merge pull request #179 from saschagehlich/master
updateAttributes: data defaults to {}
2012-12-19 10:34:10 -08:00
Sascha Gehlich 7ec8ab55d1 updateAttributes data defaults to {} 2012-12-19 19:29:14 +01:00
Anatoliy Chakkaev ceff4278e8 0.2.0-4 2012-12-19 19:00:28 +04:00
Anatoliy Chakkaev 0d433c1c5d merge 2012-12-19 19:00:00 +04:00
Anatoliy Chakkaev 7f8aee471c 0.2.0-3 2012-12-19 18:57:34 +04:00