quoteSql() public method
Processes a SQL statement by quoting table and column names that are enclosed within double brackets.
Tokens enclosed within double curly brackets are treated as table names, while tokens enclosed within double square brackets are column names. They will be quoted accordingly. Also, the percentage character "%" at the beginning or ending of a table name will be replaced with $tablePrefix.
public string quoteSql ( $sql ) | ||
---|---|---|
$sql | string |
The SQL to be quoted |
return | string |
The quoted SQL |
Please login to continue.