Skip to content

Commit

Permalink
add constant
Browse files Browse the repository at this point in the history
  • Loading branch information
winoros committed Dec 18, 2019
1 parent 151336c commit a166fb1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ast/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ const (
RepeatableRead = "REPEATABLE-READ"

// Valid formats for explain statement.
ExplainFormatROW = "row"
ExplainFormatDOT = "dot"
ExplainFormatHint = "hint"
PumpType = "PUMP"
DrainerType = "DRAINER"
ExplainFormatROW = "row"
ExplainFormatDOT = "dot"
ExplainFormatHint = "hint"
ExplainFormatTrace = "opt_trace"
PumpType = "PUMP"
DrainerType = "DRAINER"
)

// Transaction mode constants.
Expand All @@ -82,6 +83,7 @@ var (
ExplainFormatROW,
ExplainFormatDOT,
ExplainFormatHint,
ExplainFormatTrace,
}
)

Expand Down

0 comments on commit a166fb1

Please sign in to comment.