CustomExpression<D extends Object>.dialectSpecific constructor

const CustomExpression<D extends Object>.dialectSpecific(
  1. Map<SqlDialect, String> content, {
  2. Iterable<TableInfo<Table, dynamic>> watchedTables = const [],
  3. Precedence precedence = Precedence.unknown,
  4. UserDefinedSqlType<D>? customType,
})

Constructs a custom expression providing the raw SQL in content depending on the SQL dialect when this expression is built.

Implementation

const CustomExpression.dialectSpecific(
  Map<SqlDialect, String> content, {
  this.watchedTables = const [],
  this.precedence = Precedence.unknown,
  UserDefinedSqlType<D>? customType,
})  : _dialectSpecificContent = content,
      content = '',
      _customSqlType = customType;