rorm_db_delete

This function deletes rows from the database based on the given conditions.

Parameters

db DBHandle

Reference to the Database, provided by rorm_db_connect.

transaction DBTransactionHandle

Mutable pointer to a transaction, can be null.

model FFIString

Name of the table to query.

condition const(FFICondition)*

Query / condition to filter what to delete on.

callback DBDeleteCallback

Callback to call when finished, only passing in error information.

context void*

context pointer to pass through as-is into the callback.

**Important**: - Make sure that db, model and condition are allocated until the callback is executed.

This function is called from an asynchronous context.

Meta