Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColumnNames ¶
func ColumnNames(columns []*sql.ColumnType) []string
ColumnNames :: extract names from columns
func ColumnValueAsString ¶
func ColumnValueAsString(val interface{}, colType *sql.ColumnType) (result string, err error)
ColumnValueAsString :: convert column value to string
func ColumnValuesAsString ¶
func ColumnValuesAsString(values []interface{}, columns []*sql.ColumnType) ([]string, error)
func ShowOutput ¶
func ShowOutput(result *db.QueryResult)
ShowOutput :: displays the output using the proper formatter as applicable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.