$databaseescapeTableCol()

Sanitize a table.column string, where either part is optional

Usage

$string = $database->escapeTableCol(string $str);

Arguments

NameType(s)Description
$strstring

Return value

string

Exceptions

Method can throw exceptions on error:

  • WireDatabaseException


$database methods and properties

API reference based on ProcessWire core version 3.0.252