DatabaseTools
Description
Misc database tools
Located in /libraries/Database.php (line 282)
Method Summary
Methods
static getLimitString (line 287)
Returns the "LIMIT x,x" string depending on both values
void
getLimitString
( $offset, $length)
- $offset
- $length
static getOnDuplicateKeyUpdateValuesString (line 317)
Returns string like "name1=VALUES(name1), name2=VALUES(name2)"
void
getOnDuplicateKeyUpdateValuesString
( $valueNames)
- array $valueNames
static getValuesString (line 306)
Returns string like "(name1, name2) VALUES (value1, value2)"
void
getValuesString
( $values)
- array $values