How to upsert a row? Getting type error. #1147
Answered
by
simolus3
rubenferreira97
asked this question in
Q&A
-
I am trying to insert a row, however if it already exist I would like to add to the old value.
Is this a bug or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Apr 20, 2021
Replies: 1 comment 2 replies
-
Hm, is |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rubenferreira97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hm, is
cliques
a nullable column? I think you can wrap the offending expression in a.dartCast<int>()
to fix the type error, but I'm a bit surprised that this would be necessary in the first place here.