Reference to the Database, provided by rorm_db_connect.
Mutable pointer to a transaction, can be null.
Name of the table to query.
Array of columns to retrieve from the database.
Array of joins to add to the query.
Pointer to an FFICondition.
Allows to specify columns to order the result by.
Optionally limit and offset which rows are returned.
callback function. Takes the context, a stream handle and an error that must be checked first.
context pointer to pass through as-is into the callback.
Important: - Make sure that db, model, columns and condition are allocated until the callback is executed.
This function is called completely synchronously.
This function queries the database given the provided parameters.