Documentation

MysqliSqlHelper

MysqliSqlHelper class used to handle MySQLi database using specific method for generating SQL queries, inheriting Bitrix\Main\DB\SqlHelper. Such methods help generating a query without using database-specific syntax.

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

Queries the following namespace:

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


© «Bitrix24», 2001-2024
Up