Polyglot SQL API Documentation - v0.2.0
    Preparing search index...

    Type Alias Identifier

    Represent a SQL identifier (table name, column name, alias, keyword-as-name, etc.).

    The quoted flag indicates whether the identifier was originally delimited (double-quoted, backtick-quoted, or bracket-quoted depending on the dialect). The generator uses this flag to decide whether to emit quoting characters.

    type Identifier = {
        name: string;
        quoted: boolean;
        span?: Span | null;
        trailing_comments: string[];
    }
    Index

    Properties

    name: string

    The raw text of the identifier, without any quoting characters.

    quoted: boolean

    Whether the identifier was quoted in the source SQL.

    span?: Span | null

    Source position span (populated during parsing, None for programmatically constructed nodes)

    trailing_comments: string[]