funcstore

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAll

func FetchAll(rows *sql.Rows) ([]map[string]string, error)

FetchAll .

func FetchAllNew

func FetchAllNew(rows *sql.Rows) ([][]string, error)

FetchAllNew .

func FetchOne

func FetchOne(rows *sql.Rows) (map[string]string, error)

FetchOne .

func FetchOneNew

func FetchOneNew(rows *sql.Rows) ([]string, error)

FetchOne .

func IdpkTABLA

func IdpkTABLA(keyNameIN, table_name string) (primarykey, primaryKeyThisTable bool)

IdpkTABLA recibe kname y tabla name retorna 2 true si: es fk y pkey de la tabla

func MapArrayToDBObjects

func MapArrayToDBObjects(table_name string, map_array []map[string]string) []model.Object

func ObjToJSON

func ObjToJSON(tname string, obj map[string]string) (mg, dt string)

ObjToJSON retorna un string con formato json de un objeto quitando pk

func ScanOne

func ScanOne(rows *sql.Rows, columnCount int, columns []string) (map[string]string, error)

ScanOne

func ScanOneNew

func ScanOneNew(rows *sql.Rows, columnCount int, columns []string) ([]string, error)

ScanOneNew

Types

This section is empty.

Jump to

Keyboard shortcuts

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