Raymond Feng
|
184c190223
|
Bring up the schema loading from json docs
|
2013-05-20 16:05:59 -07:00 |
Raymond Feng
|
347147a36b
|
Remove schema.js
|
2013-05-17 17:06:40 -07:00 |
Raymond Feng
|
fca91e3400
|
Fix the on-demand connection
|
2013-05-17 16:21:12 -07:00 |
Raymond Feng
|
7caaeb2623
|
Fix the datasource.define
|
2013-05-17 14:41:04 -07:00 |
Raymond Feng
|
8263a6d71b
|
Start to refactor ADL and DataSource
|
2013-05-17 10:54:14 -07:00 |
Anatoliy Chakkaev
|
4c717e4335
|
Fail uniqueness check in case of db error
|
2013-05-17 09:01:29 -07:00 |
Raymond Feng
|
630b991d1d
|
Refactor the CRUD operations to DataAccessObject
|
2013-05-17 08:49:57 -07:00 |
Raymond Feng
|
3d82fc10b9
|
Fix the discover keys
|
2013-05-13 22:10:10 -07:00 |
Raymond Feng
|
e207628538
|
Add discover primary/foreign keys
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
c15ff3cad0
|
Safer include
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
0f040f7814
|
Fix Problem with DataType Text, closes #278
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
06641da2c6
|
Add context info to validation error
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
ba75af1490
|
Only save schema props
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
25db533827
|
Fix tick
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
8370538e4e
|
Safe connect call
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
23004c12c1
|
Support define fk with class name
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
8099f7edf2
|
Fix find with NaN id in base-sql
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
e13149edc5
|
Added skip/limit to memory adapter
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
ee05ebcca6
|
Relations passed to belongsTo.add
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
504ae56acd
|
Fix injection in ids
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
83027f9ead
|
Accept related objects when creating instance #247
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
eecbd32d07
|
Allow null properties for headless models
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
a73f53521e
|
Fix m2m: only add fk when hasMany have no "through"
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
c9e97744dd
|
Many-to-many relation
- hasMany {through: Class}
- hasAndBelongsToMany
- some specs in relations.test.js
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
9facf369b1
|
Some tests for scope
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
136ea91fbf
|
Organize model.js
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
c4d4b68413
|
Datatypes casting
|
2013-05-13 22:04:28 -07:00 |
Raymond Feng
|
5620be1d57
|
Add discover methods for model names and properties
|
2013-04-19 14:11:52 -07:00 |
Raymond Feng
|
ad1b2ad7e9
|
Only call the orginal method once
|
2013-04-16 22:25:31 -07:00 |
Raymond Feng
|
3613f6e22f
|
Set up the connected handler before connect
|
2013-04-15 16:05:17 -07:00 |
Raymond Feng
|
589908a78f
|
The connecting flag should be set to false initially
|
2013-04-15 16:00:08 -07:00 |
Anatoliy Chakkaev
|
3364102771
|
Do not assign enumerable schema to object #256
|
2013-04-07 00:21:42 +04:00 |
Anatoliy Chakkaev
|
2fd2157d28
|
Fix dates in memory adapter
|
2013-04-06 14:50:23 +04:00 |
Anatoliy Chakkaev
|
4943feb230
|
Merge transactions
|
2013-04-05 02:13:14 +04:00 |
Anatoliy Chakkaev
|
43d1cbd39e
|
Merge
|
2013-04-05 02:12:34 +04:00 |
Anatoliy Chakkaev
|
029dfb6f3b
|
Allow database.js to export function(compound)
|
2013-04-04 22:24:56 +04:00 |
Anatoliy Chakkaev
|
3a355851b6
|
ValidationError instead Error
|
2013-04-04 19:31:07 +04:00 |
Anatoliy Chakkaev
|
704bc965bd
|
Find on hasMany scope method
|
2013-04-04 00:46:41 +04:00 |
Anatoliy Chakkaev
|
f56cbaa150
|
Added map-reduce and find methods to list
|
2013-04-03 23:52:19 +04:00 |
Anatoliy Chakkaev
|
be17763eca
|
Return valid in case of sync validations
|
2013-04-01 20:13:55 +04:00 |
Anatoliy Chakkaev
|
b0a1ed3bed
|
Fix validation issue
|
2013-04-01 20:08:22 +04:00 |
Anatoliy Chakkaev
|
cf5ed5b877
|
Transactions
|
2013-04-01 17:49:12 +04:00 |
Anatoliy Chakkaev
|
6d1e47ceaf
|
Schemas switching
|
2013-03-31 16:35:26 +04:00 |
Anatoliy Chakkaev
|
76c7fbd6ec
|
Merge branch 'http' of github.com:NiKnight/jugglingdb
|
2013-03-31 14:08:38 +04:00 |
Anatoliy Chakkaev
|
6449f1ca72
|
Fix validations
|
2013-03-31 13:41:02 +04:00 |
Anatoliy Chakkaev
|
0776c51994
|
Batch create
|
2013-03-31 13:40:37 +04:00 |
Scott Nonnenberg
|
2ba862f5af
|
afterDestroy not called on adapter error
Similar to afterCreate and afterUpdate, we don't want to run the afterXXXX handlers if the delete failed according to the adapter.
|
2013-03-30 17:18:47 -07:00 |
Anatoliy Chakkaev
|
5b429e8d41
|
Fix memory adapter: broken upd attrs
|
2013-03-30 21:07:16 +04:00 |
Anatoliy Chakkaev
|
2f048e79c0
|
Return instance of object when create
|
2013-03-30 21:06:09 +04:00 |
Anatoliy Chakkaev
|
5540750626
|
Validation amends
- rename event
- pass data to hooks
- always call hooks (even when no validations set up)
|
2013-03-28 15:29:11 +04:00 |