final class DatabaseQueueDialect (View source)

internal  
 

Supplies the trusted database-time expression for queue dialects with reliable conditional write counts.

Methods

Resolves a supported queue dialect and rejects generic ODBC before any job can be mutated.

string

Returns the dialect-owned SQL expression used as the authoritative Unix time source.

string
bool

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.

Parameters

DatabaseConfig $config

Return Value

DatabaseQueueDialect

currentEpochExpression

string currentEpochExpression()

Returns the dialect-owned SQL expression used as the authoritative Unix time source.

Return Value

string

isSqlite

bool isSqlite()

Indicates whether schema inspection must use SQLite's table-info metadata instead of column probing.

Return Value

bool