How to perform an UPSERT operation? #239
-
Hi and thanks for writing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are correct, there was no upsert function on the existing release of Native DB. This has been added for version 0.8.0, which will be released next week. (See code If you want to perform an upsert with previous versions, you can check for existence using |
Beta Was this translation helpful? Give feedback.
You are correct, there was no upsert function on the existing release of Native DB. This has been added for version 0.8.0, which will be released next week. (See code
upsert
).If you want to perform an upsert with previous versions, you can check for existence using
get
and useinsert
orupdate
depending on whether the data exists.