-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangetable_reference.go
More file actions
28 lines (24 loc) · 1.31 KB
/
changetable_reference.go
File metadata and controls
28 lines (24 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package ast
// ChangeTableChangesTableReference represents CHANGETABLE(CHANGES ...) table reference
type ChangeTableChangesTableReference struct {
Target *SchemaObjectName `json:"Target,omitempty"`
SinceVersion ScalarExpression `json:"SinceVersion,omitempty"`
ForceSeek bool `json:"ForceSeek"`
Columns []*Identifier `json:"Columns,omitempty"`
Alias *Identifier `json:"Alias,omitempty"`
ForPath bool `json:"ForPath"`
}
func (c *ChangeTableChangesTableReference) node() {}
func (c *ChangeTableChangesTableReference) tableReference() {}
// ChangeTableVersionTableReference represents CHANGETABLE(VERSION ...) table reference
type ChangeTableVersionTableReference struct {
Target *SchemaObjectName `json:"Target,omitempty"`
PrimaryKeyColumns []*Identifier `json:"PrimaryKeyColumns,omitempty"`
PrimaryKeyValues []ScalarExpression `json:"PrimaryKeyValues,omitempty"`
ForceSeek bool `json:"ForceSeek"`
Columns []*Identifier `json:"Columns,omitempty"`
Alias *Identifier `json:"Alias,omitempty"`
ForPath bool `json:"ForPath"`
}
func (c *ChangeTableVersionTableReference) node() {}
func (c *ChangeTableVersionTableReference) tableReference() {}