SQLiteEngine
class SQLiteEngine implements Engine
SQLite database platform.
Properties
| $formatDateTime |
Methods
Checks if the engine supports a specific feature.
Adds delimiters around database identifier.
Applies LIMIT and OFFSET clauses to an SQL query.
Returns a list of all tables in the database.
Returns metadata for all columns in a table.
Returns metadata for all indexes in a table.
Returns metadata for all foreign keys in a table.
Converts a value from the database to a PHP value.
Details
at line 26
__construct(Connection $connection)
No description
at line 32
bool
isSupported(string $feature)
Checks if the engine supports a specific feature.
at line 38
string|null
classifyException(DriverException $e)
Maps a driver exception to an appropriate exception class.
at line 72
string
delimit(string $name)
Adds delimiters around database identifier.
at line 78
string
formatDateTime(DateTimeInterface $value)
Formats a date-time value for use in an SQL statement.
at line 84
string
formatDateInterval(DateInterval $value)
Formats a date-time interval for use in an SQL statement.
at line 90
string
applyLimit(string $sql, int|null $limit, int|null $offset)
Applies LIMIT and OFFSET clauses to an SQL query.
at line 107
array
getTables()
Returns a list of all tables in the database.
at line 133
array
getColumns(string $table)
Returns metadata for all columns in a table.
at line 170
array
getIndexes(string $table)
Returns metadata for all indexes in a table.
at line 220
array
getForeignKeys(string $table)
Returns metadata for all foreign keys in a table.
at line 239
mixed
convertToPhp(mixed $value, array $meta, TypeConverter $converter)
Converts a value from the database to a PHP value.