dialectSpecificOptions property

Map<Symbol, Object?> dialectSpecificOptions
final

A map of dialect-specific options.

Typically, each key in the map is a static symbol constant defined in classes mixing in DialectSpecificComponent.

Dialect-specific imports then use extension methods to design a high-level API for each dialects.

As an example of this, consider insert statements which have an INSERT OR IGNORE /* OR ROLLBACK, OR ABORT, ... */ syntax in SQLite but not in PostgreSQL. By representing that option in dialectSpecificOptions, we don't have to add a special SqliteInsertStatement subclass. Compiling those insert statements with a PostgreSQL compiler would simply ignore that option.

This allows the compileWith implementation of this component to

Implementation

final Map<Symbol, Object?> dialectSpecificOptions = {};