query

package
v0.0.0-...-0012dc0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	QueryString    string
	BindParameters []interface{}
	Reference      interface{}
}

func NewQuery

func NewQuery(queryString string, bindParameters ...interface{}) *Query

Create a Query object which can be used to perform a query. If the query returns some type of struct then a reference type must be passed by setting the query.Reference parameter to use as a reference for the returned types.

Jump to

Keyboard shortcuts

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