Anki/rslib/src/storage/card/siblings_for_bury.sql
Damien Elmes c9eeb91e0a initial work on undoing reviews+burying siblings
- fetch sfld and csum when fetching notes, to make it cheaper
to write them back out unmodified
- make `fields` private, and access it via accessors, so we can
still catch when fields have been mutated without calling
prepare_for_update()
- fix python importing code passing a string in as the checksum
2021-03-10 11:47:53 +10:00

15 lines
No EOL
168 B
SQL

INSERT INTO search_cids
SELECT id
FROM cards
WHERE id != ?
AND nid = ?
AND (
(
?
AND queue = ?
)
OR (
?
AND queue = ?
)
);