Documentation ¶
Index ¶
- Variables
- func CrudDelete(appid, tableid string, id string) error
- func CrudExec(sql string, aliasDB string) error
- func CrudInsert(appid string, tableid string, elements map[string]dico.Element) error
- func CrudList(appid string, tableid string, viewid string, view *dico.View, ...) ([]orm.Params, error)
- func CrudRead(filter string, appid string, tableid string, id string, ...) ([]orm.Params, error)
- func CrudSQL(sql string, aliasDB string) ([]orm.Params, error)
- func CrudUpdate(appid string, tableid string, id string, elements map[string]dico.Element) error
- func EveryDay(ctx context.Context) error
- func IfNotEmpty(chaine string, valTrue string, valFalse string) string
- func ShellExec(commande string) (out string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Config types.BeeConfig
Config de config.yaml
Functions ¶
func CrudInsert ¶
CrudInsert avec element.SQLout
func CrudList ¶
func CrudList(appid string, tableid string, viewid string, view *dico.View, elements map[string]dico.Element) ([]orm.Params, error)
CrudList as
func CrudRead ¶
func CrudRead(filter string, appid string, tableid string, id string, elements map[string]dico.Element) ([]orm.Params, error)
CrudRead as
func CrudUpdate ¶
CrudUpdate avec element.SQLout
func EveryDay ¶
EveryDay as appelé par le planificateur des tâches tous les jours * CREATE TABLE "tasks" (
"id" INTEGER, "name" TEXT, "day" INTEGER DEFAULT 0, "month" INTEGER DEFAULT 0, "last_day" INTEGER DEFAULT 0, "last_month" INTEGER DEFAULT 0, "disabled" INTEGER, "sql" TEXT, PRIMARY KEY("id" AUTOINCREMENT)
)
func IfNotEmpty ¶
IfNotEmpty as
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.