prorm API Reference
    Preparing search index...

    Interface SqlCompilerOptions

    SQL Compiler options

    interface SqlCompilerOptions {
        dialect?: Dialect;
        parameterized?: boolean;
        paramChar?: string;
        inlineValues?: boolean;
        pretty?: boolean;
        fieldMapping?: FieldMapping;
    }
    Index
    dialect?: Dialect

    The dialect to use for compilation

    parameterized?: boolean

    Whether to use parameterized queries

    paramChar?: string

    The character used for parameter placeholders

    inlineValues?: boolean

    Whether to inline values (not use parameters)

    pretty?: boolean

    Pretty print the SQL

    fieldMapping?: FieldMapping

    Field mapping for attribute to column name translation Used when model uses 'field' property in attributes