Joschka
(Joschka Tillmanns)
March 30, 2018, 7:13pm
1
Hi,
I am trying to store a uniqe email using transactions, but I would always get more database entries than expected. I wrote a minimal example:
http://sprunge.tillmanns.me/2de2bdda90
if I make the code non concurrent I get the expected result. Do you have any idea what I am doing wrong?
mrjn
(Manish R Jain)
March 31, 2018, 5:05am
2
Which version are you using? In the most recent version, we have added upsert directive . So, your email predicate in the schema must declare that to do upserts.
1 Like
Joschka
(Joschka Tillmanns)
March 31, 2018, 1:35pm
3
I missed that one in the docs. Thanks for the reply
acz
(Anthony Z)
April 9, 2018, 2:16pm
4
I just took a look at the upsert documentation and I think it should start with a definition of upsert.
I am not new to databases and I had to search google for its meaning.
pawan
(Pawan Rawal)
April 10, 2018, 7:40am
5
Our docs are open source , do you want to help with a contribution?
system
(system)
Closed
May 10, 2018, 7:40am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.