mini\Database\SqlDialect final enum

Documentation

SQL dialect enumeration for database-specific SQL generation

Dialects represent different SQL syntax variations across database vendors. Use the most specific dialect when possible, fallback to Generic for unknown databases.

Inheritance

Implements: UnitEnum

Cases (7)

MySQL = NULL
Postgres = NULL
Sqlite = NULL
SqlServer = NULL
Oracle = NULL
Generic = NULL
Virtual = NULL

Properties (1)

public readonly string $name

Methods (7)

Get the recommended identifier quote character for this dialect

Quote an identifier according to dialect rules

Check if this dialect uses standard LIMIT/OFFSET syntax

Check if this dialect supports subqueries (e.g., IN (SELECT ...))

Check if this dialect supports EXCEPT/INTERSECT set operations

Get human-readable dialect name

Documentation missing

Source

src/Database/SqlDialect.php:13-172