Class SelectQuery
[MessagePackObject(false)]
public sealed record SelectQuery : Query, IEquatable<Query>, IEquatable<SelectQuery>
- Inheritance
-
SelectQuery
- Implements
- Inherited Members
Constructors
SelectQuery(bool, Projection, Table, TableHint, RecordList<Join>, Condition?, RecordList<Value>)
public SelectQuery(bool Distinct, Projection Columns, Table From, TableHint TableHints, RecordList<Join> Join, Condition? Where, RecordList<Value> GroupBy)
Parameters
DistinctboolColumnsProjectionFromTableTableHintsTableHintJoinRecordList<Join>WhereConditionGroupByRecordList<Value>
SelectQuery(Table, Condition, params Value[])
public SelectQuery(Table from, Condition where, params Value[] selectList)
Parameters
SelectQuery(Table, params Value[])
public SelectQuery(Table source, params Value[] selectList)
Parameters
Properties
Columns
[Key(2)]
public Projection Columns { get; init; }
Property Value
Distinct
[Key(1)]
public bool Distinct { get; init; }
Property Value
From
[Key(3)]
public Table From { get; init; }
Property Value
GroupBy
[Key(7)]
public RecordList<Value> GroupBy { get; init; }
Property Value
IsLiteral
[IgnoreMember]
public override bool IsLiteral { get; }
Property Value
Join
[Key(5)]
public RecordList<Join> Join { get; init; }
Property Value
TableHints
[Key(4)]
public TableHint TableHints { get; init; }
Property Value
Where
[Key(6)]
public Condition? Where { get; init; }
Property Value
Methods
IsUnisolated()
public override bool IsUnisolated()
Returns
ToLines()
public override IEnumerable<string> ToLines()
Returns
ToRefString()
public override string ToRefString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WithSource(Table, Table)
public override Query WithSource(Table oldSource, Table newSource)