-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAVE NOT WORKING #12
Comments
I can't save any object. |
Help please |
@Aneta1990 You have to provide some details on your issue. Do you get any error messages? What exactly are you trying to save? |
Same issue. Reading via models works fine. Insert via DB facade works fine. But save via models doesnt work though returns true and gives no exceptions. |
Guys think I've found the issue, it's a mismatch between ID and id of the model, practically even if you have set the primarykey and the guarded to ID, the model returns id in lower case, so before saving updating or deleting you have to set the property ID to the one saved in id `use WeDevs\ORM\Eloquent\Model; class ClassBaseModel extends Model
}` |
READ WORK
SAVE NOT WORKING!!!!!!!!!!
The text was updated successfully, but these errors were encountered: