ТипTimestamp
класс TimestampType наследует Type и реализует PhpDateTimeMappingType (Просмотреть исходный код)
Методы
| строка | getSQLDeclaration(массив $column, AbstractPlatform $platform) {@inheritdoc} | |
| строка | getMySqlPlatformSQLDeclaration(массив $column) Получить объявление SQL для MySQL. | |
| строка | getPostgresPlatformSQLDeclaration(массив $column) Получить объявление SQL для PostgreSQL. | |
| строка | getSqlServerPlatformSQLDeclaration(массив $column) Получить объявление SQL для SQL Server. | |
| строка | getName() {@inheritdoc} |
Детали
строка getSQLDeclaration(массив $column, AbstractPlatform $platform)
{@inheritdoc}
protected строка getMySqlPlatformSQLDeclaration(массив $column)
Получить объявление SQL для MySQL.
protected строка getPostgresPlatformSQLDeclaration(массив $column)
Получить объявление SQL для PostgreSQL.
protected строка getSqlServerPlatformSQLDeclaration(массив $column)
Получить объявление SQL для SQL Server.
строка getName()
{@inheritdoc}
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Database/DBAL/TimestampType.html