delete()
Delete a row from a table by its ID.
Usage
delete(
table,
id,
)Parameters
table: str-
The name of the table to delete from.
id: int-
The ID of the row to delete.
Returns
bool-
True if the row was deleted successfully.
Examples
>>> delete("users", 1)
True