Documentation ¶
Index ¶
- Constants
- func Close() error
- func CloseListen(host, channel string)
- func Connected(driver, host string, port int, dbname, user, password string) (int, error)
- func DBClose(idx int) error
- func DBQDDL(db int, sql string, args ...any) (e.Items, error)
- func DBQuery(db int, sql string, args ...any) (e.Items, error)
- func DBQueryAtrib(db int, sql, atrib string, args ...any) (e.Items, error)
- func DBQueryAtribOne(db int, sql, atrib string, args ...any) (e.Item, error)
- func DBQueryCount(db int, sql string, args ...any) int
- func DBQueryData(db int, sql string, args ...any) (e.Items, error)
- func DBQueryDataOne(db int, sql string, args ...any) (e.Item, error)
- func DBQueryOne(db int, sql string, args ...any) (e.Item, error)
- func HttpQuery(sql string, args []any) (e.Items, error)
- func IsCloseListen(host, channel string) bool
- func Listen(nodo, url, channel string, listen func(res e.Json))
- func ListenClose(listen *pq.Listener) error
- func ListenEvent(nodo, url, channel string, listener *pq.Listener, listen func(res e.Json))
- func QDDL(sql string, args ...any) (e.Items, error)
- func Query(sql string, args ...any) (e.Items, error)
- func QueryAtrib(sql, atrib string, args ...any) (e.Items, error)
- func QueryAtribOne(sql, atrib string, args ...any) (e.Item, error)
- func QueryCount(sql string, args ...any) int
- func QueryData(sql string, args ...any) (e.Items, error)
- func QueryDataOne(sql string, args ...any) (e.Item, error)
- func QueryOne(sql string, args ...any) (e.Item, error)
- func SQLDDL(sql string, args ...any) string
- func SQLParse(sql string, args ...any) string
- func SQLQuote(sql string) string
- type Conn
- type Db
Constants ¶
View Source
const Firebird = "firebird"
View Source
const Mysql = "mysql"
View Source
const Postgres = "postgres"
View Source
const Sqlserver = "sqlserver"
Variables ¶
This section is empty.
Functions ¶
func CloseListen ¶ added in v0.0.34
func CloseListen(host, channel string)
func IsCloseListen ¶ added in v0.0.34
func ListenClose ¶
func ListenEvent ¶
func QueryCount ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.