Documentation ¶
Index ¶
- Constants
- func ChangePassword(db int, name, password string) (bool, error)
- func Close() error
- func Connected(driver, host string, port int, dbname, user, password string) (int, error)
- func CreateColumn(db int, schema, table, name, kind, defaultValue string) (bool, error)
- func CreateDatabase(db int, name string) (bool, error)
- func CreateIndex(db int, schema, table, field string) (bool, error)
- func CreateSchema(db int, name string) (bool, error)
- func CreateSerie(db int, schema, tag string) (bool, error)
- func CreateTrigger(db int, schema, table, name, when, event, function string) (bool, error)
- func CreateUser(db int, name, password string) (bool, error)
- func DBClose(idx int) error
- func DBQDDL(db int, sql string, args ...any) (et.Items, error)
- func DBQuery(db int, sql string, args ...any) (et.Items, error)
- func DBQueryAtrib(db int, sql, atrib string, args ...any) (et.Items, error)
- func DBQueryAtribOne(db int, sql, atrib string, args ...any) (et.Item, error)
- func DBQueryCount(db int, sql string, args ...any) int
- func DBQueryData(db int, sql string, args ...any) (et.Items, error)
- func DBQueryDataOne(db int, sql string, args ...any) (et.Item, error)
- func DBQueryOne(db int, sql string, args ...any) (et.Item, error)
- func DropColumn(db int, schema, table, name string) error
- func DropDatabase(db int, name string) error
- func DropIndex(db int, schema, table, field string) error
- func DropSchema(db int, name string) error
- func DropSerie(db int, schema, name string) error
- func DropTable(db int, schema, name string) error
- func DropTrigger(db int, schema, table, name string) error
- func DropUser(db int, name string) error
- func ExistColum(db int, schema, table, name string) (bool, error)
- func ExistDatabase(db int, name string) (bool, error)
- func ExistIndex(db int, schema, table, field string) (bool, error)
- func ExistSchema(db int, name string) (bool, error)
- func ExistSerie(db int, schema, name string) (bool, error)
- func ExistTable(db int, schema, name string) (bool, error)
- func ExistTrigger(db int, schema, table, name string) (bool, error)
- func ExistUser(db int, name string) (bool, error)
- func HttpQuery(sql string, args []any) (et.Items, error)
- func Listen(url, channel, tag string, listen func(res et.Json))
- func ListenClose(listen *pq.Listener) error
- func QDDL(sql string, args ...any) (et.Items, error)
- func Query(sql string, args ...any) (et.Items, error)
- func QueryAtrib(sql, atrib string, args ...any) (et.Items, error)
- func QueryAtribOne(sql, atrib string, args ...any) (et.Item, error)
- func QueryCount(sql string, args ...any) int
- func QueryData(sql string, args ...any) (et.Items, error)
- func QueryDataOne(sql string, args ...any) (et.Item, error)
- func QueryOne(sql string, args ...any) (et.Item, error)
- func SQLDDL(sql string, args ...any) string
- func SQLParse(sql string, args ...any) string
- func SQLQuote(sql string) string
- func UpdateParamdb(path, atrib, value string) (et.Item, error)
- 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 ChangePassword ¶ added in v0.0.85
func CreateColumn ¶ added in v0.0.85
func CreateIndex ¶ added in v0.0.85
func CreateTrigger ¶ added in v0.0.108
func DBQueryAtrib ¶
* * *
func DBQueryAtribOne ¶
func DropColumn ¶ added in v0.0.107
func DropSchema ¶ added in v0.0.107
func DropTrigger ¶ added in v0.0.108
func ExistColum ¶ added in v0.0.85
func ExistIndex ¶ added in v0.0.85
func ExistTrigger ¶ added in v0.0.108
func ListenClose ¶
func QueryCount ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.