Alban Jubert
eb98b3fb64
Update .gitlab-ci.yml
...
Update .gitlab-ci.yml
Update .gitlab-ci.yml
9 years ago
Alban Jubert
89b319a28c
Add license.
...
Add gitlab ci configuration.
Add single relation assignment test.
9 years ago
Alban Jubert
77d19515f2
Merge pull request #10 from k0R73z/patch-1
...
Fix bug with adding single relation
9 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`
9 years ago
Alban Jubert
438beb3708
Typo
9 years ago
Alban Jubert
797849e6a3
Add missing ProjectNoTransactions model test class
9 years ago
Alban Jubert
75450aa185
Documentation fix. More unit tests added.
9 years ago
Alban Jubert
05dca3d2c7
Merge pull request #7 from sankam-nikolya/master
...
Update SaveRelationsBehavior.php
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
10 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
10 years ago
Alban Jubert
c8cd72a7fa
Fix #2 issue: hasMany() relations are correctly saved now
10 years ago
Alban Jubert
c306b77316
Minor documentation adjustments
10 years ago
Alban Jubert
b917ed195f
Fix #1 issue: Setting null for a named relation is correctly handled now
10 years ago
Alban Jubert
67a8d06979
Class comments update
10 years ago
Alban Jubert
57ee9b163e
Example to add or update an related record using an associative array
10 years ago
Alban Jubert
26f2a518cd
Small keywords fix
10 years ago
Alban Jubert
98bce0e229
Description fix
10 years ago
Alban Jubert
fb92d0d7e4
Documentation Fix
10 years ago
Alban Jubert
dcc11984cd
Initial commit
10 years ago