Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions go/vt/sqlparser/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,9 @@ type Update struct {
Where *Where
OrderBy OrderBy
Limit *Limit
// Returning is specific to PostgreSQL syntax, and allows Insert statements to return
// results via a set of select expressions that are evaluated on the inserted rows.
Returning SelectExprs
}

// Format formats the node.
Expand Down Expand Up @@ -1814,6 +1817,9 @@ type Delete struct {
Where *Where
OrderBy OrderBy
Limit *Limit
// Returning is specific to PostgreSQL syntax, and allows Insert statements to return
// results via a set of select expressions that are evaluated on the inserted rows.
Returning SelectExprs
}

// Format formats the node.
Expand Down