Skip to main content

point_insert

Function point_insert 

Source
pub async fn point_insert<S: StorageEngine>(
    engine: &LiteQueryEngine<S>,
    collection: &str,
    document_id: &str,
    value_bytes: &[u8],
    if_absent: bool,
) -> Result<QueryResult, LiteError>
Expand description

PointInsert: insert-only, fail on duplicate PK (or skip if if_absent).