Documentation ¶
Index ¶
- Constants
- func Close() error
- func Connected(driver, host string, port int, dbname, user, password string) (int, error)
- func DBClose(db int) error
- func DBQDDL(db int, sql string, args ...any) (Items, error)
- func DBQuery(db int, sql string, args ...any) (Items, error)
- func DBQueryAtrib(db int, sql, atrib string, args ...any) (Items, error)
- func DBQueryAtribOne(db int, sql, atrib string, args ...any) (Item, error)
- func DBQueryCount(db int, sql string, args ...any) int
- func DBQueryData(db int, sql string, args ...any) (Items, error)
- func DBQueryDataOne(db int, sql string, args ...any) (Item, error)
- func DBQueryOne(db int, sql string, args ...any) (Item, error)
- func Listen(nodo, url, channel string, listen func(res Json))
- func ListenClose(listen *pq.Listener) error
- func ListenEvent(nodo, url, channel string, listener *pq.Listener, listen func(res Json))
- func QDDL(sql string, args ...any) (Items, error)
- func Query(sql string, args ...any) (Items, error)
- func QueryAtrib(sql, atrib string, args ...any) (Items, error)
- func QueryAtribOne(sql, atrib string, args ...any) (Item, error)
- func QueryCount(sql string, args ...any) int
- func QueryData(sql string, args ...any) (Items, error)
- func QueryDataOne(sql string, args ...any) (Item, error)
- func QueryOne(sql string, args ...any) (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 ListenClose ¶
func ListenEvent ¶
func QueryAtrib ¶
func QueryAtribOne ¶
func QueryCount ¶
func QueryDataOne ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.