MediaWiki REL1_39
|
Public Member Functions | |
addQuotes ( $s) | |
Escape and quote a raw value string for use in a SQL query. | |
Definition at line 9 of file DbQuoter.php.
Wikimedia\Rdbms\Database\DbQuoter::addQuotes | ( | $s | ) |
Escape and quote a raw value string for use in a SQL query.
string | int | float | null | bool | Blob | $s |
Implemented in Wikimedia\Rdbms\Database, Wikimedia\Rdbms\DatabasePostgres, Wikimedia\Rdbms\DatabaseSqlite, and Wikimedia\Rdbms\DBConnRef.
Referenced by PopulateRecentChangesSource\buildUpdateCondition(), RefreshImageMetadata\execute(), WANCacheReapUpdate\getTitleChangeEvents(), Title\invalidateCache(), PurgeJobUtils\invalidatePages(), MigrateComments\migrate(), MigrateComments\migrateToTemp(), DeleteLocalPasswords\processUsers(), MediaWiki\Block\DatabaseBlockStore\purgeExpiredBlocks(), Title\purgeExpiredRestrictions(), and MediaWiki\Revision\RevisionStore\userWasLastToEdit().