Skip to main content

insert_document_statement

Function insert_document_statement 

Source
pub fn insert_document_statement(
    table: &str,
    document: &TextDocument,
) -> SqlStatement
Expand 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.