src/CarteBlanche/Library/StorageEngine/DatabaseDriver/SqliteDriver.php
static function escape($str = null, $double_quotes = false)
    {
        return sqlite_escape_string(
            true===$double_quotes ? str_replace('"', '""', $str) : $str
        );
    }
static function escape($str = null, $double_quotes = false)
    {
        return sqlite_escape_string(
            true===$double_quotes ? str_replace('"', '""', $str) : $str
        );
    }
Escape a string using the internal PHP sqlite function

@param string $str The string to escape
@param bool $double_quotes If true, the double-quotes will be doubled for escaping
@return string The escaped string
@see http://www.php.net/manual/en/function.sqlite-escape-string.php