Get Started

Where Syntax

Query

Transaction

Advanced

PDO object

Debug

Information

version: 1.1.3

delete

Delete data from table

delete($table, $where)
Return: [number] The number of rows affected.
Most dangerous function, consider deeply before query.
$database->delete("account", [
	"AND" => [
		"type" => "business",
		"age[<]" => 18
	]
]);