Class InsertStatement
- Namespace
- The.SQL.QIR.Statements
- Assembly
- Instagile.dll
Two-level AST: InsertStatement has the target, and the cases of InsertExpression have the source.
[MessagePackObject(false)]
public sealed record InsertStatement : IEquatable<InsertStatement>
- Inheritance
-
InsertStatement
- Implements
- Inherited Members
Constructors
InsertStatement(Table, RecordList<string>, SelectStatement)
public InsertStatement(Table targetTable, RecordList<string> targetColumns, SelectStatement sourceQuery)
Parameters
targetTableTabletargetColumnsRecordList<string>sourceQuerySelectStatement
InsertStatement(Table, RecordList<Assignment>)
public InsertStatement(Table targetTable, RecordList<Assignment> setValues)
Parameters
targetTableTablesetValuesRecordList<Assignment>
InsertStatement(Table, InsertExpression)
Two-level AST: InsertStatement has the target, and the cases of InsertExpression have the source.
public InsertStatement(Table TargetTable, InsertExpression Expression)
Parameters
TargetTableTableExpressionInsertExpression
Properties
Expression
[Key(1)]
public InsertExpression Expression { get; init; }
Property Value
TargetTable
[Key(0)]
public Table TargetTable { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.