go_storage

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 10 Imported by: 3

README

go_storage

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteMultipleCreate

func ExecuteMultipleCreate(T model.Table, objects []model.Object) (mg string, ok bool)

func Exists

func Exists(textResponse, objectSelect, sql string) (ok bool)

Exists verifica si existe un que es y algo en la base de datos según sql ej: "la base de datos","tiendadb","sql para la consulta"

func MakeSQLSELECT

func MakeSQLSELECT(option, TNAME string, obj map[string]string) (out string)

MakeSQLSELECT s(count(*),) tabla(jugador,usuario) id(2,7,12) genera un string sql según tabla y un maps clave valor

func NewConnection

func NewConnection(dbea dbEngineAdapter) *connection

func QueryWithoutANSWER

func QueryWithoutANSWER(sql, mje string) bool

QueryWithoutANSWER SinResultado ejecuta sql en bd con sin respuesta de mas de 1 operacion un error recibe sql y mensaje a mostrar en consola

func SelectValue

func SelectValue(sql string) (out string, ok bool)

SelectValue retorna valor de una consulta sql

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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