### has
確定數據是否存在
has($table, $where)
* ##### table [string]
表名.
* ##### where [array]
WHERE 條件.
has($table, $join, $where)
* ##### table [string]
表名.
* ##### join [array]
多表查詢.
* ##### where [array]
WHERE條件.
Return: [boolean] 返回 TRUE 或者 FALSE.
可用于做密碼判斷。
~~~
if ($database->has("account", [
"AND" => [
"OR" => [
"user_name" => "foo",
"email" => "foo"
],
"password" => "12345"
]
]))
{
echo "Password is correct.";
}
else
{
echo "Password error.";
}
~~~