DatabaseQueueDialect
final class DatabaseQueueDialect (View source)
| internal |
Supplies the trusted database-time expression for queue dialects with reliable conditional write counts.
Methods
fromConfig(DatabaseConfig $config)
Resolves a supported queue dialect and rejects generic ODBC before any job can be mutated.
Returns the dialect-owned SQL expression used as the authoritative Unix time source.
string
isSqlite()
Indicates whether schema inspection must use SQLite's table-info metadata instead of column probing.
bool
Details
fromConfig
static DatabaseQueueDialect
fromConfig(DatabaseConfig $config)
Resolves a supported queue dialect and rejects generic ODBC before any job can be mutated.
currentEpochExpression
string
currentEpochExpression()
Returns the dialect-owned SQL expression used as the authoritative Unix time source.
isSqlite
bool
isSqlite()
Indicates whether schema inspection must use SQLite's table-info metadata instead of column probing.