Function mentat_ffi::query_builder_execute_scalar [] [src]

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

Executes a query and returns the results as a Scalar.

Panics

If the find set of the query executed is not structured [:find ?foo . :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.