Spec-Zone.ru › Laravel 9

TimestampType

class TimestampType extends Type implements PhpDateTimeMappingType (View source)

Методы

stringgetSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

stringgetMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для MySQL.

stringgetPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для PostgreSQL.

stringgetSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для SQL Server.

stringgetSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для SQLite.

stringgetName()

{@inheritdoc}

Подробности

string
getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

Параметры

array$fieldDeclaration
AbstractPlatform$platform

Значение возврата

string

protected
string
getMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для MySQL.

Параметры

array$fieldDeclaration

Значение возврата

string

protected
string
getPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для PostgreSQL.

Параметры

array$fieldDeclaration

Значение возврата

string

protected
string
getSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для SQL Server.

Параметры

array$fieldDeclaration

Значение возврата

string

protected
string
getSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Получить объявление SQL для SQLite.

Параметры

array$fieldDeclaration

Значение возврата

string

string
getName()

{@inheritdoc}

Значение возврата

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Database/DBAL/TimestampType.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API