Commit Graph

5 Commits

Author SHA1 Message Date
Asdine El Hrychy
7a98a2025f Move statements into their own package 2021-05-30 12:47:17 +04:00
Asdine El Hrychy
357adc9f31 Add ON CONFLICT DO REPLACE
It also adds support for SQLite notations:
- ON CONFLICT IGNORE
- ON CONFLICT REPLACE
2021-05-28 15:00:33 +04:00
Asdine El Hrychy
7757022ea6 Add support for ON CONFLICT clause
By default, if there is a conflict when inserting a document,
we abort the current statement. Are considered conflicts
any error returned by duplicate primary keys or unique
constraint violations. The ON CONFLICT clause only
supports the DO NOTHING action, which returns no error.
2021-05-28 13:22:28 +04:00
Asdine El Hrychy
1a3d4f57a9 Move stream building to query package 2021-05-23 23:50:18 +04:00
Asdine El Hrychy
f402374ca3 Move parser to internal package 2021-05-23 21:03:11 +04:00