package
Version:
v0.3.25
Opens a new window with list of versions in this module.
Published: Sep 8, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Column ¶
added in
v0.3.8
type Column struct {
Name string `json:"name"`
Type string `json:"type"`
}
Column is used to inform the column order as well as column type
Content is used as a container for Unsafe Items
type Item map[string]interface{}
Item is used as a container for sql rows with unknown values
type Result struct {
Columns []Column `json:"columns"`
Content []interface{} `json:"content"`
}
Result is the container for all sql result info
Unsafe sets up a sql connection interface for later unsafe queries
UnsafeGet is used when expecting a single instance of output values where
types are unknown
UnsafeSelect is used when expecting multiple instances of output values where
types are unknown
Source Files
¶
Click to show internal directories.
Click to hide internal directories.