Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 175 | |
| 176 | // Format implements the NodeFormatter interface. |
| 177 | func (node *BeginTransaction) Format(ctx *FmtCtx) { |
| 178 | ctx.WriteString("BEGIN TRANSACTION") |
| 179 | node.Modes.Format(ctx) |
| 180 | } |
| 181 | |
| 182 | // CommitTransaction represents a COMMIT statement. |
| 183 | type CommitTransaction struct{} |