ConditionalSelect
Defined in: packages/db/src/query/ir.ts:245
Extends
BaseExpression
Constructors
Constructor
new ConditionalSelect(branches, defaultValue?): ConditionalSelect;Defined in: packages/db/src/query/ir.ts:247
Parameters
branches
defaultValue?
Returns
ConditionalSelect
Overrides
BaseExpression.constructorProperties
__returnType
readonly __returnType: any;Defined in: packages/db/src/query/ir.ts:79
Internal
- Type brand for TypeScript inference
Inherited from
BaseExpression.__returnTypebranches
branches: ConditionalSelectBranch[];Defined in: packages/db/src/query/ir.ts:248
defaultValue?
optional defaultValue: SelectValueExpression;Defined in: packages/db/src/query/ir.ts:249
type
type: "conditionalSelect";Defined in: packages/db/src/query/ir.ts:246
Overrides
BaseExpression.type