-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
isAutoIncrement in WCDB.Swift #772
Labels
Comments
我给结构体Model 设置了自增属性,var isAutoIncrement: Bool { return true },以及var lastInsertedRowID: Int64 = 0,但是打印出来的内容,一直为Option(0),如果不定义后者的话,打印出来的是一串未定义的数字,比如(-9223372036854775808) |
我刚开了个新项目,也是这问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The language of WCDB
Swift
The version of WCDB
The platform of WCDB
The installation of WCDB
Cocoapods
What's the issue?
when I set var isAutoIncrement: Bool { return true } for struct model , and debugPrint the lasetInserRowId is aways Option(0), dose it only support class model?
The text was updated successfully, but these errors were encountered: