method public

PgsqlSqlHelper::getCurrentDateTimeFunction()

Класс: \Bitrix\Main\DB\PgsqlSqlHelper

Сигнатура

public getCurrentDateTimeFunction() : string

Описание

Возвращает функцию для получения текущего времени.

Возвращаемое значение

string

Как применяется в PgsqlSqlHelper

PgsqlSqlHelper::getCurrentDateTimeFunction() — метод класса \Bitrix\Main\DB\PgsqlSqlHelper модуля «Главный модуль».

Метод объекта: сначала нужен экземпляр PgsqlSqlHelper.

use Bitrix\Main\DB\PgsqlSqlHelper;

/** @var PgsqlSqlHelper $object */
$result = $object->getCurrentDateTimeFunction();
// $result: string

Другие методы PgsqlSqlHelper

getCurrentDateTimeFunction() есть и у других классов модуля «Главный модуль»: MssqlSqlHelper, MysqliSqlHelper, OracleSqlHelper, SqlHelper.

Исходный файл: source/main/lib/db/pgsqlsqlhelper.php:95

Что будем искать? Например,Продвижение