These 'mysql' query objects have additional MySQL-specific behaviors.
calcFoundRows()to add or removeSQL_CALC_FOUND_ROWSflagcache()to add or removeSQL_CACHEflagnoCache()to add or removeSQL_NO_CACHEflagbigResult()to add or removeSQL_BIG_RESULTflagsmallResult()to add or removeSQL_SMALL_RESULTflagbufferResult()to add or removeSQL_BUFFER_RESULTflaghighPriority()to add or removeHIGH_PRIORITYflagstraightJoin()to add or removeSTRAIGHT_JOINflag
orReplace()to add or removeOR REPLACEhighPriority()to add or removeHIGH_PRIORITYflaglowPriority()to add or removeLOW_PRIORITYflagignore()to add or removeIGNOREflagdelayed()to add or removeDELAYEDflag
In addition, the MySQL Insert object has support for ON DUPLICATE KEY UPDATE:
onDuplicateKeyUpdate($col, $raw_value)sets a raw valueonDuplicateKeyUpateCol($col, $value)is acol()equivalent for the updateonDuplicateKeyUpdateCols($cols)is acols()equivalent for the update
Placeholders for bound values in the ON DUPLICATE KEY UPDATE portions will be
automatically suffixed with __on_duplicate key to deconflict them from the
insert placeholders.
lowPriority()to add or removeLOW_PRIORITYflagignore()to add or removeIGNOREflagwhere()andorWhere()to add WHERE conditions flagorderBy()to add an ORDER BY clause flaglimit()to set a LIMIT count
lowPriority()to add or removeLOW_PRIORITYflagignore()to add or removeIGNOREflagquick()to add or removeQUICKflagorderBy()to add an ORDER BY clauselimit()to set a LIMIT count