sql

package
v0.0.0-...-2adb2a2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instantiate

func Instantiate(colType *sql.ColumnType) interface{}

func ParseRows

func ParseRows(rows *sql.Rows, instantiate TypeInstantiator) (db.QueryResult, error)

Types

type TypeInstantiator

type TypeInstantiator func(colType *sql.ColumnType) interface{}

TypeInstantiator defines a function that each driver should implement in order to instantiate a typed variable pointer according to a DB column type.

Jump to

Keyboard shortcuts

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