pub unsafe extern "C" fn regoQuery(
rego: *mut regoInterpreter,
query_expr: *const c_char,
) -> *mut regoOutput
Expand description
Performs a query against the current base and virtual documents.
The query expression should be a Rego query. The output of the query will be returned as a regoOutput object. The caller is responsible for freeing the output object with regoFreeOutput.
@param rego The interpreter. @param query_expr The query expression. @return The output of the query.