Skip to content

Fix if has Int type of data while updating.#2

Open
zjumelody wants to merge 3 commits intoSwiftORM:masterfrom
zjumelody:master
Open

Fix if has Int type of data while updating.#2
zjumelody wants to merge 3 commits intoSwiftORM:masterfrom
zjumelody:master

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