-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add slices and array support for create, update, save, validateAndCreate, validateAndSave, validateAndUpdate * change return reference on Eager function from *Query To *Connection * add has_many eager creation feature * add has one association support for eager creation * add belongs_to eager creation feature * many to many association support * add SQL translator to accomplish dialect params * extract skipped function into skipable struct * add AssociationCreatable interface to define associations that can be created * Update README.md * add exclude columns for eager model creation * Fix broken test * Update README.md * add support for UUID generation before create a many to many relationship * [Fix] allow eager creation when there are not associations defined for model * remove assoc package dependency * add owner eligible for creation flag to belongs_to associations * Replace design for eager creation by using Before and After type associations * Fix Broken Test * Use store instead of TX when it has a nil reference * clear slices when eager loading from many_to_many and has_many associations * [Refactor] remove duplicated code for iterations over models * [Refactor] remove duplicated code and improve validations type * [Refactor] remove unused code
- Loading branch information
1 parent
8745d21
commit 4f62567
Showing
20 changed files
with
1,204 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.