interface DeleteQuery
Simple mixin query for deleting a single ron from a given table based on id. The default implementation can be used
with a call to the impl function, or a different implementation may be provided.
delete |
abstract suspend fun delete(id: String, connection: SqlClient): String |
impl |
Provides the default implementation for DeleteQuery. Can be used as follows. Note that constant values should be passed for schema and table, as doing otherwise would risk sql injection. fun impl(schema: String, table: String): DeleteQuery |
DeleteQueryImpl |
The default implementation for DeleteQuery. It deletes a single row in the table by id. class DeleteQueryImpl : DeleteQuery |