-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor refactor in insert() and save() (#58)
* Somewhere we forgot this. re-adding. * $model->set('blah') will set value to title field. * save() can now combine set/save() by taking argument * off-load insert() functionality to set() * insert will return "id" instead of full model. Because cloned models are not very reliable now. * counter is part of dsql. * Applied fixes from StyleCI * fix some tests * typo * more tests * style * Add is_numeric * More field validations * Add more numeric field check * style * Applied fixes from StyleCI
- Loading branch information
1 parent
74f298f
commit 94e938b
Showing
5 changed files
with
87 additions
and
25 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
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