Spec-Zone.ru › Laravel 8

TimestampType

class TimestampType extends Type implements PhpDateTimeMappingType (View source)

Methods

string getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

string getMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for MySQL.

string getPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for PostgreSQL.

string getSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQL Server.

string getSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQLite.

string getName()

{@inheritdoc}

Details

string getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)

{@inheritdoc}

Parameters

array $fieldDeclaration
AbstractPlatform $platform

Return Value

string

protected string getMySqlPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for MySQL.

Parameters

array $fieldDeclaration

Return Value

string

protected string getPostgresPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for PostgreSQL.

Parameters

array $fieldDeclaration

Return Value

string

protected string getSqlServerPlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQL Server.

Parameters

array $fieldDeclaration

Return Value

string

protected string getSQLitePlatformSQLDeclaration(array $fieldDeclaration)

Get the SQL declaration for SQLite.

Parameters

array $fieldDeclaration

Return Value

string

string getName()

{@inheritdoc}

Return Value

string

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

Spec-Zone.ru

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