Medoo

开始

更新日志

Where 语句

查询

聚合

Fetch

事务

原生SQL查询

Raw object

PDO object

Debug

数据库信息

replace

将新的数据替换旧的数据(个人认为非常难用...)

replace($table, $column, $where)
Return: [PDOStatement]返回 PDOStatement对象
$database->replace("account", [
	"type" => [
		"user" => "new_user",
		"business" => "new_business"
	],
	"column" => [
		"old_value" => "new_value"
	]
], [
	"user_id[>]" => 1000
]);