Function mentat_ffi::query_builder_execute [] [src]

#[no_mangle]
pub unsafe extern "C" fn query_builder_execute(
    query_builder: *mut QueryBuilder
) -> *mut ExternResult

Executes a query and returns the results as a Rel.

Panics

If the find set of the query executed is not structured [:find ?foo ?bar :where ...].

Safety

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