db

package
v0.0.0-...-e62e01f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: GPL-3.0 Imports: 9 Imported by: 2 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(sql string, params ...interface{}) (sql.Result, error)

func Initalise

func Initalise()

func Insert

func Insert(sql string, params ...interface{}) *query

func QueryRec

func QueryRec(sql string, params ...interface{}) *query

QueryRec is an embeddable SQL query

func QueryRows

func QueryRows(sql string, params ...interface{}) *query

QueryRows is for multi-row SQL queries

func ScanRec

func ScanRec(q *query, params ...interface{}) error

ScanRec returns the results for a single row SQL query

func ScanRows

func ScanRows(q *query, callback func(), params ...interface{}) error

ScanRows returns the results of a multi-row SQL query via the callback function

Types

This section is empty.

Jump to

Keyboard shortcuts

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