Function mentat_ffi::query_builder_execute [] [src]

#[no_mangle]
pub unsafe extern "C" fn query_builder_execute(
    query_builder: *mut QueryBuilder,
    error: *mut ExternError
) -> *mut RelResult<Binding>

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 typed_value_result_set_destroy is provided for releasing the memory for this pointer type.