delete

suspend fun Surreal.delete(table: String)

Delete

Deletes all records in a table

Parameters

table

The table to delete


suspend fun Surreal.delete(table: String, id: String)

Delete

Deletes a specific record in a table

Parameters

table

The table to delete the record from

id

The id of the record to delete


suspend fun Surreal.delete(id: Thing<*>)

Delete

Deletes a specific record in a table

Parameters

id

The id of the record to delete