MysqlSqlHelper class is used to handle MySQL database with specific method to generate SQL queries, inheriting Bitrix\Main\DB\SqlHelper. Such methods help generate query without using database-specific syntax.

Extension to the class Bitrix\Main\DB\MysqlCommonSqlHelper.

Queries the following database:

Method Description Available from version
getFieldByColumnType Returns instance of a descendant from Entity\ScalarField that matches database type. 14.5.2
forSql Escapes special characters in a string for use in a SQL statement.

© «Bitrix24», 2001-2023