mirror of
https://github.com/go-shiori/shiori.git
synced 2025-03-10 23:05:33 +08:00
It used an update and insert at the same time, since the virtual table cannot have constrants nor upserts we need to try an update the bookmark content to check for it's existence, inserting it only if the update fails (don't affect any rows). This will need to be improved in the future, since not all bookmark updates require modification of the content table (in my case, I was testing only updating tags). |
||
---|---|---|
.. | ||
database.go | ||
mysql.go | ||
pg.go | ||
sqlite.go |