Documentation
¶
Overview ¶
Package sql provides a javascript module for performing SQL actions against relational databases.
Index ¶
Constants ¶
View Source
const ImportPath = "k6/x/sql"
ImportPath contains module's JavaScript import path.
Variables ¶
This section is empty.
Functions ¶
func RegisterDriver ¶
RegisterDriver registers an SQL database driver.
func RegisterModule ¶
RegisterModule registers an SQL database driver module. The module import path will be k6/x/sql/driver/ + driverName. The module's default export will be the driver id Symbol.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is a database handle representing a pool of zero or more underlying connections.
Click to show internal directories.
Click to hide internal directories.