Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport for `insert or ignore` for Sqlite. #1303
Comments
cpick
referenced this issue
Dec 19, 2017
Merged
Add `insert_or_ignore_into()` "INSERT [OR] IGNORE" #1418
sgrif
closed this
in
#1418
Jan 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alatiera commentedNov 14, 2017
•
edited
Atm you kinda have to isolate the query and throw away the result in order to do that.
It would be nice if you could do something like this:
Or even on_conflict().update() run replace_into instead?
I think this sort of functionality exists for Postgres with .on_conflict().do_nothing() but It would be nice if something like that existed for Sqlite too.