Table of Contents

Class Condition

Namespace
The.SQL.QIR
Assembly
Instagile.dll

AST representing a boolean-valued clause such as the content of a WHERE.

[MessagePackObject(false)]
[Union(0, typeof(AndCondition))]
[Union(1, typeof(ExistsCondition))]
[Union(2, typeof(FalseCondition))]
[Union(3, typeof(FrozenQueryCondition))]
[Union(4, typeof(InclusiveRangeCondition))]
[Union(5, typeof(LikeCondition))]
[Union(6, typeof(NotCondition))]
[Union(7, typeof(OrCondition))]
[Union(8, typeof(TestCondition))]
[Union(9, typeof(ThunkCondition))]
[Union(10, typeof(TrueCondition))]
[Union(11, typeof(TypecheckCondition))]
public abstract record Condition : IEquatable<Condition>
Inheritance
Condition
Implements
Derived
Inherited Members

Properties

Joins

Joins required to reach this condition.

[IgnoreMember]
public virtual IEnumerable<Join> Joins { get; }

Property Value

IEnumerable<Join>

Methods

ToLines()

public virtual IEnumerable<string> ToLines()

Returns

IEnumerable<string>

WithSource(Table, Table)

public virtual Condition WithSource(Table oldSource, Table newSource)

Parameters

oldSource Table
newSource Table

Returns

Condition