The highest tagged major version is
v2 .
Discover Packages
github.com/goranbjelanovic/jet
qrm
package
Version:
v2.1.0+incompatible
Opens a new window with list of versions in this module.
Published: Sep 28, 2019
License: Apache-2.0, BSD-3-Clause, MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Directories Index Constants Variables Functions Types Query(ctx, db, query, args, destPtr) type DB
Documentation
¶
Query executes Query Result Mapping (QRM) of `query` with list of parametrized arguments `arg` over database connection `db`
using context `ctx` into destination `destPtr`.
Destination can be either pointer to struct or pointer to slice of structs.
type DB interface {
Exec(query string , args ...interface{}) (sql .Result , error )
ExecContext(ctx context .Context , query string , args ...interface{}) (sql .Result , error )
Query(query string , args ...interface{}) (*sql .Rows , error )
QueryContext(ctx context .Context , query string , args ...interface{}) (*sql .Rows , error )
}
DB is common database interface used by jet execution
Source Files
¶
Directories
¶
Show internal
Collapse all
Click to show internal directories.
Click to hide internal directories.