Skip to content

MySqlProfile

Translates the ANSI SQL version 1 fragment to MySQL 8.0 or later.

The profile emits AnsiSqlPredicate with positional parameters. It uses backtick-delimited field-path components, MySQL string-literal escaping, and MySQL null-safe equality, so CEL equality remains total when a mapped column contains SQL NULL.

new MySqlProfile(): MySqlProfile

MySqlProfile

readonly capability: DialectCapabilityProfile = MySqlProfile.capability

Machine-readable declaration for this profile instance.

Profile.capability


readonly outputSchema: GenMessage<AnsiSqlPredicate> = AnsiSqlPredicateSchema

Protobuf schema produced by this profile.

Profile.outputSchema


readonly static capability: DialectCapabilityProfile

Capability declaration for the MySQL 8.0 translation fragment.

translate(context, functions): AnsiSqlPredicate

Translates one expression through the constructed profile.

ProfileContext

ReadonlyMap<string, MySqlTranslation>

AnsiSqlPredicate

Profile.translate


validate(context, functions): void

Validates one expression through the constructed profile.

ProfileContext

ReadonlyMap<string, MySqlTranslation>

void

Profile.validate