Skip to content

PostgreSqlProfile

Translates the ANSI SQL version 1 fragment and PostgreSQL version 1 extensions.

The profile emits PostgreSqlPredicate with $n parameter markers. Its optional libraries add PostgreSQL arrays, a checked RE2-compatible pattern subset, timestamp ranges, and simple full-text search.

new PostgreSqlProfile(): PostgreSqlProfile

PostgreSqlProfile

readonly capability: DialectCapabilityProfile = PostgreSqlProfile.capability

Machine-readable declaration for this profile instance.

Profile.capability


readonly outputSchema: GenMessage<PostgreSqlPredicate> = PostgreSqlPredicateSchema

Protobuf schema produced by this profile.

Profile.outputSchema


readonly validateConfiguration: (profileConfiguration?) => void = validatePostgreSqlConfiguration

Validates PostgreSQL’s optional parameter-start configuration.

Validates PostgreSQL configuration before a translator chooses its outcome.

Any

void

Profile.validateConfiguration


readonly static capability: DialectCapabilityProfile

Capability declaration for PostgreSQL version 1 and its optional libraries.

translate(context, functions): PostgreSqlPredicate

Translates one expression through the constructed profile.

ProfileContext

ReadonlyMap<string, PostgreSqlTranslation>

PostgreSqlPredicate

Profile.translate


validate(context, functions): void

Validates one expression through the constructed profile.

ProfileContext

ReadonlyMap<string, PostgreSqlTranslation>

void

Profile.validate