'use client'; //#region src/sql/pg-identifier.d.ts /** * Represents an identifier in postgres that is subject * to quoting rules. The {@link toString} rule behaves * exactly like calling `select quote_ident($1)` in postgres */ declare class PgIdentifier { private readonly value; private readonly quoted; private constructor(); /** * Constructs an identifier from a single part (column or table name). * When quoting identifiers like `select table.col` use {@link fromParts} instead */ static fromString(identifier: string): PgIdentifier; /** * Quotes parts of an identifier like `select schema.table.col`. * A separate function is necessary because postgres will treat * `select "HELLO.WORLD"` as a column name. It has to be like * `select "HELLO"."WORLD"` instead. */ static fromParts(...identifiers: (string | PgIdentifier)[]): PgIdentifier; toString(): string; toJSON(): string; private static readonly reservedKeywords; } //#endregion export { PgIdentifier }; //# sourceMappingURL=pg-identifier.d.mts.map