Closed aldrengadon closed 5 months ago
Sorry for the confusion, CamelCasing works fine.
Reopening this again as, updateOrCreate method is not working.
Got this error:
create, createMany and update methods are working fine.
@aldrengadon in that case you have to use snake_case, as it bypasses the model's configuration - you're basically working directly with database columns.
Got this error when I tried to update a table using update and updateOrCreate functions with hasOne relationship.![image](https://github.com/kirkbushell/eloquence/assets/51815662/d3763190-5a0d-41f5-b75f-04cac9c558dd)
create and createMany functions are working fine though.