Member Junction
    Preparing search index...

    Interface BalancedFragmentOptions

    Options for IsBalancedSQLFragment.

    interface BalancedFragmentOptions {
        AllowComments?: boolean;
        AllowedParameterPlaceholders?: ReadonlySet<string>;
    }
    Index

    Properties

    AllowComments?: boolean

    Accept comments. Off by default, because a filter from a caller never needs one. Turn it on only for text an administrator wrote, such as a custom view WhereClause.

    AllowedParameterPlaceholders?: ReadonlySet<string>

    Positional parameter placeholders (such as $1, $2) bound into the fragment by the caller itself. When set, those exact $N operator+number pairs are accepted on PostgreSQL while dollar-quoted strings and any other $ outside a name remain refused.