Libraries v5.0.0
    Preparing search index...

    Class AliasedQueryBuilder<T, Row, P, Connected>

    Immutable flat joined read. Supply select() before accessing rowSchema or executing.

    Type Parameters

    Hierarchy

    Index
    "[PARAMETER_READER]": AliasParameterReader

    Type-only fluent return constructor.

    "[PARAMETER_STATE]": P

    Type-only ordered argument contract.

    • Internal

      Compile selected fields, casting exact numeric values before driver parsing.

      Parameters

      • Optionalmode: typeof COMPILE_PARAMETERS

      Returns QueryBuilder

    • Awaiting executes this reader; repeated awaits execute again.

      Type Parameters

      • R = InferType<Row>[]
      • E = never

      Parameters

      • Optionalresolve: ((rows: InferType<Row>[]) => R | PromiseLike<R>) | null
      • Optionalreject: ((error: any) => E | PromiseLike<E>) | null

      Returns Promise<R | E>

    • Type Parameters

      Parameters

      • column: S
      • value: A & (
            A extends QueryParameter<string>
                ? CheckParameterValue<
                    P,
                    NoInfer<A>,
                    PredicateValue<ReadAliasTables<T>, S>,
                >
                : string
        )

      Returns QueryView<
          AliasedQueryBuilder<
              T,
              Row,
              ValueParameters<P, A, PredicateValue<ReadAliasTables<T>, S>> extends ParameterState
                  ? ParameterState & ValueParameters<
                      P,
                      A,
                      PredicateValue<ReadAliasTables<T>, S>,
                  >
                  : never,
              Connected extends true ? true : false,
          >,
          Connected extends true ? true : false,
      >

    • Type Parameters

      Parameters

      • column: S
      • value: A & (
            A extends QueryParameter<string>
                ? CheckParameterValue<
                    P,
                    NoInfer<A>,
                    PredicateValue<ReadAliasTables<T>, S>,
                >
                : string
        )

      Returns QueryView<
          AliasedQueryBuilder<
              T,
              Row,
              ValueParameters<P, A, PredicateValue<ReadAliasTables<T>, S>> extends ParameterState
                  ? ParameterState & ValueParameters<
                      P,
                      A,
                      PredicateValue<ReadAliasTables<T>, S>,
                  >
                  : never,
              Connected extends true ? true : false,
          >,
          Connected extends true ? true : false,
      >