Sanitize a string by escaping characters that could cause an SQL injection attack.
$value = $db->escape('any string');
string Driver_Database_Driver_SQLite::escape( string $value )
参数列表
参数 类型 描述 默认值 $value
string
Value to quote
string
public function escape($value)
{
$value = sqlite_escape_string($value);
return "'$value'";
}