We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@Serializable class Foo( @SerialName("_id") val id: Id<Foo>, val counter: ULong, )
Trying to increase the counter:
foo.updateOne(Foo::id eq id, inc(Foo::counter, 1))
fails with:
Type mismatch. Required: Number? Found: ULong
It seems like ULong & co do not inherit from Number, so it is not possible to increment them easily using the API.
ULong
Number
The text was updated successfully, but these errors were encountered:
Thank you for reporting. I fix it.
Sorry, something went wrong.
6b8f246
No branches or pull requests
Trying to increase the counter:
fails with:
It seems like
ULong
& co do not inherit fromNumber
, so it is not possible to increment them easily using the API.The text was updated successfully, but these errors were encountered: