Открытые члены | |
forSql ($value, $maxLength=0) | |
getFieldByColumnType ($name, $type, array $parameters=null) | |
Открытые члены унаследованные от MysqlCommonSqlHelper | |
getLeftQuote () | |
getRightQuote () | |
getAliasLength () | |
getQueryDelimiter () | |
getCurrentDateTimeFunction () | |
getCurrentDateFunction () | |
addSecondsToDateTime ($seconds, $from=null) | |
getDatetimeToDateFunction ($value) | |
formatDate ($format, $field=null) | |
getConcatFunction () | |
getIsNullFunction ($expression, $result) | |
getLengthFunction ($field) | |
getCharToDateFunction ($value) | |
getDateToCharFunction ($fieldName) | |
getConverter (ScalarField $field) | |
convertDatetimeField ($value) | |
convertFromDbDateTime ($value) | |
convertDateField ($value) | |
convertFromDbDate ($value) | |
castToChar ($fieldName) | |
softCastTextToChar ($fieldName) | |
getColumnTypeByField (ScalarField $field) | |
getTopSql ($sql, $limit, $offset=0) | |
prepareMerge ($tableName, array $primaryFields, array $insertFields, array $updateFields) | |
getConditionalAssignment (string $field, string $value) | |
Открытые члены унаследованные от SqlHelper | |
__construct (Connection $connection) | |
quote ($identifier) | |
addDaysToDateTime ($days, $from=null) | |
getSubstrFunction ($str, $from, $length=null) | |
prepareInsert ($tableName, array $fields, $returnAsArray=false) | |
prepareUpdate ($tableName, array $fields) | |
prepareAssignment ($tableName, $columnName, $value) | |
convertToDb ($value, ORM\Fields\IReadable $field=null) | |
convertFromDb ($value, ORM\Fields\IReadable $field) | |
convertToDbInteger ($value) | |
convertFromDbInteger ($value) | |
convertToDbFloat ($value, $scale=null) | |
convertFromDbFloat ($value, $scale=null) | |
convertToDbString ($value, $length=null) | |
convertFromDbString ($value, $length=null) | |
convertToDbText ($value) | |
convertFromDbText ($value) | |
convertToDbDate ($value) | |
convertToDbDateTime ($value) | |
getConverter (ORM\Fields\ScalarField $field) | |
getColumnTypeByField (ORM\Fields\ScalarField $field) | |
getAscendingOrder () | |
getDescendingOrder () | |
getInsertIgnore ($tableName, $fields, $sql) | |
getRandomFunction () | |
getSha1Function ($field) | |
getRegexpOperator ($field, $regexp) | |
values ($identifier) | |
getMatchFunction ($field, $value) | |
getMatchAndExpression ($values, $prefixSearch=false) | |
getMatchOrExpression ($values, $prefixSearch=false) | |
prepareMergeMultiple ($tableName, array $primaryFields, array $insertRows) | |
prepareMergeSelect ($tableName, array $primaryFields, array $selectFields, $select, $updateFields) | |
prepareDeleteLimit ($tableName, array $primaryFields, $where, array $order, $limit) | |
initRowNumber ($variableName) | |
getRowNumber ($variableName) | |
prepareCorrelatedUpdate ($tableName, $tableAlias, $fields, $from, $where) | |
prepareMergeValues (string $tableName, array $primaryFields, array $insertRows, array $updateFields=[]) | |
getOrderByStringField (string $field, array $values, bool $quote=true) | |
getOrderByIntField (string $field, array $values, bool $quote=true) | |
Дополнительные унаследованные члены | |
Защищенные члены унаследованные от SqlHelper | |
prepareBinds (array $tableFields, array $fields) | |
getOrderByField (string $field, array $values, callable $callback, bool $quote=true) | |
Защищенные данные унаследованные от SqlHelper | |
$connection | |
$idCache | |
См. определение в файле mysqlsqlhelper.php строка 6
forSql | ( | $value, | |
$maxLength = 0 ) |
Escapes special characters in a string for use in an SQL statement.
string | $value | Value to be escaped. |
integer | $maxLength | Limits string length if set. |
Переопределяет метод предка SqlHelper.
См. определение в файле mysqlsqlhelper.php строка 16
getFieldByColumnType | ( | $name, | |
$type, | |||
array | $parameters = null ) |
Returns instance of a descendant from Entity\ScalarField that matches database type.
string | $name | Database column name. |
mixed | $type | Database specific type. |
array | $parameters | Additional information. |
Переопределяет метод предка SqlHelper.
См. определение в файле mysqlsqlhelper.php строка 34