Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Statement ¶
type Statement struct {
At time.Time `json:"at"`
Duration string `json:"duration"`
Rows int64 `json:"rows"`
SQL string `json:"sql"`
Error string `json:"error,omitempty"`
}
Statement describes a recently executed database statement. SQL is the rendered statement emitted by GORM, including bound values where GORM can render them for logging.
Click to show internal directories.
Click to hide internal directories.