Skip to content

Conversation

@zjumelody
Copy link

Like this:
let obj = User()
obj.id = 1
obj.save()
If has the data and it's id is 1, and the structure has Int type of data, it will do a update, and has the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant