-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep.go
More file actions
39 lines (30 loc) · 1.12 KB
/
step.go
File metadata and controls
39 lines (30 loc) · 1.12 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
29
30
31
32
33
34
35
36
37
38
39
package sqlslog
type Step string
func (s Step) String() string {
return string(s)
}
const (
StepConnBegin Step = "Conn.Begin"
StepConnBeginTx Step = "Conn.BeginTx"
StepConnClose Step = "Conn.Close"
StepConnPrepare Step = "Conn.Prepare"
StepConnPrepareContext Step = "Conn.PrepareContext"
StepConnResetSession Step = "Conn.ResetSession"
StepConnPing Step = "Conn.Ping"
StepConnExecContext Step = "Conn.ExecContext"
StepConnQueryContext Step = "Conn.QueryContext"
StepConnectorConnect Step = "Connector.Connect"
StepDriverOpen Step = "Driver.Open"
StepDriverOpenConnector Step = "Driver.OpenConnector"
StepSqlslogOpen Step = "Open"
StepRowsClose Step = "Rows.Close"
StepRowsNext Step = "Rows.Next"
StepRowsNextResultSet Step = "Rows.NextResultSet"
StepStmtClose Step = "Stmt.Close"
StepStmtExec Step = "Stmt.Exec"
StepStmtQuery Step = "Stmt.Query"
StepStmtExecContext Step = "Stmt.ExecContext"
StepStmtQueryContext Step = "Stmt.QueryContext"
StepTxCommit Step = "Tx.Commit"
StepTxRollback Step = "Tx.Rollback"
)