db

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2017 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(query string, args ...interface{})

func Init

func Init(driverName string, dataSourceName string)

func Version

func Version() int

Types

type Row

type Row struct {
	*sql.Row
}

func QueryRow

func QueryRow(query string, args ...interface{}) *Row

func (*Row) Scan

func (r *Row) Scan(args ...interface{}) error

type Rows

type Rows struct {
	*sql.Rows
}

func Query

func Query(query string, args ...interface{}) *Rows

func (*Rows) Scan

func (rs *Rows) Scan(args ...interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL