pub fn insert_document_statement(
table: &str,
document: &TextDocument,
) -> SqlStatementExpand description
Build the INSERT half of the FTS delete-then-insert upsert.
table must be a trusted, sanitized table name because SQL identifiers
cannot be bound as parameters.
This statement alone leaves rowid_map_table out of date — pair it with
insert_document_map_statement (or use insert_document_statements
for the order-safe combination) so the sidecar tracks the new rowid.