Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteQuery ¶ added in v1.18.0
func Keeps ¶ added in v1.21.0
func Keeps() []string
Keeps returns the kinds of guard the db action keeps to: it runs only a statement that reads under read-only, and connects only to a host the guard allows.
Types ¶
type Req ¶ added in v1.18.0
type Req struct {
Driver string `map:"driver"`
DSN string `map:"dsn"`
Query string `map:"query"`
Params []any `map:"params"`
Timeout string `map:"timeout"`
// contains filtered or unexported fields
}
func ParseRequest ¶ added in v1.18.0
Click to show internal directories.
Click to hide internal directories.