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
|
b55cffec34
|
0.2.0-33
|
2013-05-17 09:01:29 -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
|
4e70b5c003
|
0.2.0-32
|
2013-05-13 22:04:29 -07:00 |
Anatoliy Chakkaev
|
f98f62388d
|
Temp. disable test for validation
|
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
|
605a750859
|
0.2.0-31
|
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 |
dgsan
|
1a91605340
|
Adds test for limit and skip + limit on `all()` queries as in docs.
(Currently not all adapters may pass.)
|
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
|
a67f75f0be
|
Check types of sync and async getters created by belongsTo, close #266
|
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
|
fad77ed963
|
Upd readme
|
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
|
0974326bdc
|
0.2.0-30
|
2013-05-13 22:04:28 -07:00 |
Anatoliy Chakkaev
|
8b7cf0afc6
|
Upd changelog
|
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
|
3eb6869174
|
Revert "Fix the test case so that it passes in the same filter"
This reverts commit 7538601b79 .
|
2013-04-15 16:50:49 -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 |
Raymond Feng
|
7538601b79
|
Fix the test case so that it passes in the same filter
|
2013-04-10 21:09:09 -07:00 |
Anatoliy Chakkaev
|
81ad2a696e
|
Merge pull request #257 from mhupman/master
Update Readme to reflect Model Hooks logic
|
2013-04-08 08:54:27 -07:00 |
mhupman
|
e2a9fc9995
|
Update README.md
|
2013-04-08 12:20:46 -03:00 |
Anatoliy Chakkaev
|
3364102771
|
Do not assign enumerable schema to object #256
|
2013-04-07 00:21:42 +04:00 |
Anatoliy Chakkaev
|
43f395d653
|
Manually require init
|
2013-04-06 14:57:12 +04:00 |
Anatoliy Chakkaev
|
2fd2157d28
|
Fix dates in memory adapter
|
2013-04-06 14:50:23 +04:00 |
Anatoliy Chakkaev
|
9fc4e5e887
|
Added datatypes tests
|
2013-04-06 14:34:16 +04:00 |
Anatoliy Chakkaev
|
67d186e26c
|
Fix merged schema test
|
2013-04-05 02:14:16 +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 |