Documentation
¶
Index ¶
- func ALLTables() (tables []*model.Table)
- func AddAllTablesToIndexDb(tables ...*model.Table)
- func AddMissingFieldsNames(o *model.Object)
- func AddMissingFieldsNamesObject(d *model.DataIN, o *model.Object)
- func ColumnsMap(table_name string) (out map[string]model.Field)
- func ExecuteMultipleCreate(T model.Table, objects []model.Object) (mg string, ok bool)
- func Exists(textResponse, objectSelect, sql string) (ok bool)
- func FieldExist(table_name, field_name string) (exist bool)
- func GetFieldLegendByName(o *model.Object, field_name string) (out_legend string)
- func GetFieldsTable(o *model.Object) []model.Field
- func GetMapModel(o *model.Object) (out map[string]model.Field)
- func GetModelBy(table_name string) *model.Table
- func MakeSQLSELECT(option, TNAME string, obj map[string]string) (out string)
- func NewConnection(dbea dbEngineAdapter) *connection
- func QueryWithoutANSWER(sql, mje string) bool
- func SelectValue(sql string) (out string, ok bool)
- func TableModelByObject(o *model.Object) *model.Table
- func TablesMap() map[string]map[string]model.Field
- func UpdateWithNewData(o *model.Object, new_data map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAllTablesToIndexDb ¶
func AddMissingFieldsNames ¶
func ExecuteMultipleCreate ¶
func Exists ¶
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 FieldExist ¶
func GetFieldLegendByName ¶
ej: in name out Nombre
func GetModelBy ¶
func MakeSQLSELECT ¶
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 ¶
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 ¶
SelectValue retorna valor de una consulta sql
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.