-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support default values #3
Comments
Hi, you can use only one conflict parameter, it means it can be only
|
Yes, but the problem still exists, I tried "conflictCoumn=table.uid" and "conflictIndex=table.index" |
What's your db? |
MySQL8 |
|
Could you try to use this: table.upsertU(table.uid, insertBody = { t ->
t[table.uid] = uid
t[table.locked] = true
t[table.lastSeen] = System.currentTimeMillis()
}, updateBody = { t ->
t[table.lastSeen] = System.currentTimeMillis()
}) These |
The problem still exists, it's weird
|
Ok, it looks like Exposed inserts default values for each query which means that it breaks the internal merge method.
Removing all |
The text was updated successfully, but these errors were encountered: