Function mentat_ffi::store_query [] [src]

#[no_mangle]
pub unsafe extern "C" fn store_query<'a>(
    store: *mut Store,
    query: *const c_char
) -> *mut QueryBuilder<'a>

Creates a QueryBuilder from the given store to execute the provided query.

Safety

Callers are responsible for managing the memory for the return value. A destructor query_builder_destroy is provided for releasing the memory for this pointer type.

TODO: Update QueryBuilder so it only takes a Store pointer on execution