package
3.15.0+incompatible
Repository: https://github.com/crosserclaws/owl-backend.git
Documentation: pkg.go.dev
# Functions
BuildTxForSqls builds function for exeuction of multiple SQLs.
Converts grouped string to array of int64
groupedValue - The grouped value retrieved from database, could be null separator - The separator.
Converts grouped string to array of string
groupedValue - The grouped value retrieved from database, could be null separator - The separator.
Converts grouped string to array of uint64
groupedValue - The grouped value retrieved from database, could be null separator - The separator.
Converts IPv4 address of string to byte array could be used in SQL.
Checks whether or not the string is partial IPv4:
123 123.74 123.74.109.81.
Constructs an error of database.
Initialize a controller for database
Without RegisterPanicHandler() any PanicHandler, The raised panic would be re-paniced.
Panic with database error if the error is vialbe.
Converts sql.Result to ResultExt.
Converts the sql.Row to RowExt.
converts the sql.Rows to RowsExt.
Converts sql.Stmt to StmtExt.
Converts sql.Tx to TxExt.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Configuration of database.
Main controller of database.
Defines the type of database error.
graph.endpoint.
graph.endpoint_counter.
graph.tag_endpoint.
Extension for sql.Result.
# Interfaces
The interface of DB callback for sql package.
Executes callbacks in transaction if the boot callback has true value.
The interface of row callback for sql package.
The interface of rows callback for sql package.
The interface of transaction callback for sql package.
# Type aliases
No description provided by the author
The function object delegates the DbCallback interface.
As of database driver, this type supported nullable-value on time.Time
If the time.Time.IsZero() gives true value, this driver would gives null value.
Uses the []byte for database/sql/driver.Value.
The control of iterating.
The function object delegates the RowCallback interface.
Extension for sql.Row.
The function object delegates the RowsCallback interface.
Extension for sql.Rows.
Extension for sql.Stmt.
The function object delegates the TxCallback interface.
Extnesion for sql.Tx.
No description provided by the author