Alban Jubert
09a1043763
Class refactoring
8 years ago
Alban Jubert
5087c81135
Added changelog
8 years ago
Alban Jubert
0ce89ce91c
Use of ActiveQueryInterface and BaseActiveRecord to ensure larger DB driver compatibility
8 years ago
Anton M
b1fe72782f
Check Interface instead of Class
...
Only pure Active Record API is used so it should work with any DB driver
8 years ago
Alban Jubert
73fc64d24e
Fixed: Issue #13
8 years ago
Alban Jubert
abf79e18d8
Fix for empty value assignment on HasMany relations
8 years ago
Alban Jubert
49cae2c76b
Fix for issue #12
8 years ago
Alban Jubert
e1dfd78708
Fix for issue #12
8 years ago
Maxim
1e5d7f84ec
Fix bug with adding single relation
...
It seems to relation with has many type would not be added if code looks like this `$model->relationName = 1` or `$model->relationName = $some model`
8 years ago
Alban Jubert
75450aa185
Documentation fix. More unit tests added.
9 years ago
sankam-nikolya
f1dbcb780a
Update SaveRelationsBehavior.php
9 years ago
Alban Jubert
3b6684eebc
Fix for an issue in which the transaction may not be defined if an error occurs (call to rollback)
9 years ago
Alban Jubert
9735682514
Code style fix
9 years ago
Alban Jubert
6123fa2c9a
Enhancement #4
...
- loadRelations() has been added to be able to load relations data from a data array
- SaveRelationsTrait has been added. It gives the ability to overload the load() method of the owner model to be able to load batch relations
9 years ago
Alban Jubert
c8cd72a7fa
Fix #2 issue: hasMany() relations are correctly saved now
9 years ago
Alban Jubert
b917ed195f
Fix #1 issue: Setting null for a named relation is correctly handled now
9 years ago
Alban Jubert
67a8d06979
Class comments update
9 years ago
Alban Jubert
fb92d0d7e4
Documentation Fix
9 years ago
Alban Jubert
dcc11984cd
Initial commit
9 years ago