insert_stmt.go 354 B

12345678910111213141516171819
  1. package pg
  2. import (
  3. "github.com/kyleconroy/sqlc/internal/sql/ast"
  4. )
  5. type InsertStmt struct {
  6. Relation *RangeVar
  7. Cols *ast.List
  8. SelectStmt ast.Node
  9. OnConflictClause *OnConflictClause
  10. ReturningList *ast.List
  11. WithClause *WithClause
  12. Override OverridingKind
  13. }
  14. func (n *InsertStmt) Pos() int {
  15. return 0
  16. }