mirror of
https://github.com/ankitects/anki.git
synced 2025-11-30 08:27:12 -05:00
- 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
15 lines
No EOL
168 B
SQL
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 = ?
|
|
)
|
|
); |