Class OrWrapper<DB, TB, T>

An expression with an as method.

Type Parameters

  • DB

  • TB extends keyof DB

  • T extends SqlBool

Hierarchy

  • OrWrapper

Implements

Constructors

Methods

Constructors

Methods

  • Creates the OperationNode that describes how to compile this expression into SQL.

    If you are creating a custom expression, it's often easiest to use the sql template tag to build the node:

    class SomeExpression<T> implements Expression<T> {
    toOperationNode(): OperationNode {
    return sql`some sql here`.toOperationNode()
    }
    }

    Returns ParensNode

Generated using TypeDoc