id
返回最后插入的行ID。
id()
Return: 最后插入的行ID.
$database->insert("account", [ "user_name" => "foo", "email" => "foo@bar.com", "age" => 25 ]); $account_id = $database->id();
返回最后插入的行ID。
Return: 最后插入的行ID.
$database->insert("account", [ "user_name" => "foo", "email" => "foo@bar.com", "age" => 25 ]); $account_id = $database->id();