Documentation
¶
Index ¶
- func BeginTX(db *sql.DB) (*sql.Tx, context.Context)
- func ExecuteSQLStatement(sql *string, arg []interface{}, tx *sql.Tx, ctx context.Context) (ok bool)
- func GetObjCTX(sql *string, db *sql.DB, ctx context.Context) (out map[string]string, ok bool)
- func GetValuesWithContext(sql string, db *sql.DB, ctx context.Context) (out map[string]string, ok bool)
- func PrepareStatement(sql *string, arg []interface{}, tx *sql.Tx, ctx context.Context) bool
- func SelectAll(sql *string, st *sql.DB, ctx context.Context) (rowsMap []map[string]string, ok bool)
- func SelectOne(sql string, st *sql.DB, ctx context.Context) (rowsMap map[string]string, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteSQLStatement ¶
ExecuteSQLStatement ingresa un objeto en db
func GetValuesWithContext ¶
func GetValuesWithContext(sql string, db *sql.DB, ctx context.Context) (out map[string]string, ok bool)
getValuesWithContext retorna valor de una consulta sql
func PrepareStatement ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.