package
0.0.0-20250206095323-67f4e8942fa5
Repository: https://github.com/noxyicm/wsf.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CreateSelect returns a select configured by db instance.
DefaultMetadataCache gets the default metadata cache for information returned by adapter.DescribeTable().
Delete removes a row from table.
EmptyDefaultRow creates empty, not settuped default row.
EmptyDefaultRowset creates default rowset.
GetDefaultAdapter gets the default db.Adapter.
Insert inserts new row into table.
Instance returns a db controller instance.
IsRegisteredTable returns true if handler registered for provided type.
NewAdapter creates a new adapter from given type and options.
NewCockroachAdapter creates a new CockroachDB adapter.
NewConnection creates a new connection.
NewConnectionFromConfig creates a new connection from connection.Config.
NewDB creates new Db handler.
NewDefaultConnection creates default connection.
NewDefaultRow creates default row.
NewDefaultRowset creates default rowset.
NewDefaultSelect creates a new select object.
NewDefaultTable creates a default table object.
NewDefaultTransaction creates default transaction.
NewEmptyDefaultTable creates a non setuped default table object.
NewEmptyRow creates a new empty row.
NewEmptyRowset creates a new empty rowset.
NewExpr creates a new expression.
NewLog creates a new log from given type and options.
NewMySQLAdapter creates a new MySQL adapter.
NewRow creates a new row.
NewRowset creates a new rowset.
NewSelect creates a new statement.
NewSelectEmpty creates a new default select object.
NewSelectFromConfig creates a new sql select from config.
NewTable creates a new table from given type and options.
NewTransaction creates a new rowset.
Options return db options.
PrepareRow parses a RawBytes into map structure.
Query runs a query.
QueryInto as.
QueryRow runs a query.
RegisterAdapter registers a handler for database adapter creation.
RegisterConnection registers a handler for database rowset creation.
RegisterLogger registers a handler for database logger creation.
RegisterRow registers a handler for database row creation.
RegisterRowset registers a handler for database rowset creation.
RegisterSelect registers a handler for database statement creation.
RegisterTable registers a handler for database table creation.
RegisterTransaction registers a handler for database rowset creation.
RowTypeRegistered returns true if type rowType registered.
SetDefaultAdapter sets the default db.Adapter.
SetDefaultMetadataCache sets the default metadata cache for information returned by adapter.DescribeTable().
SetInstance sets a main db instance.
SetupAdapter checks if db is a valid database adapter.
SetupMetadataCache setups the metadata cache.
Update inserts new row into table.
# Constants
Public constants.
Public constants.
Public constants.
General select constants.
General select constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
General select constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
General select constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
General select constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
Public constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
General select constants.
TYPEAdapterCockroach represents cockroach db adapter.
TYPEAdapterMySQL represents mysql adapter.
TYPEDefaultConnection is a type id of connection class.
TYPEDefaultRow is a type id of rowset class.
TYPEDefaultRowset is a type id of rowset class.
General select constants.
TYPEDefaultTransaction is a type id of rowset class.
General select constants.
General select constants.
# Variables
JoinTypes specify legal join types.
RegexColumnAs column AS alias spliter.
RegexColumnDot s.
RegexColumnExpr s.
RegexColumnExprGroup s.
RegexColumnExprOrder s.
RegexpSingleQuote matches single quote in column name.
RegexSQLComments sRegexSQLComments = regexp.MustCompile(`@
(([\'"]).*?[^\\\]) # $1 : Skip single & double quoted expressions
|( # $3 : Match comments
(?:\#|\-\-).*?$ # - Single line comments
| # - Multi line (nested) comments
/\* # .
UnionTypes specify legal union types.
# Structs
AdapterConfig defines set of adapter variables.
Cockroach adapter for CockroachDB databeses.
ColumnData represents a raw byte data from database.
Config defines set of adapter variables.
ConnectionConfig represents connection configuration.
Db type resource.
DefaultAdapter is a base object for adapters.
DefaultConnection represents database connection.
DefaultRow holds data and operates over row.
DefaultRowset holds and operates over rows.
DefaultSelect is a db select class.
DefaultTable is a default SQL Table.
DefaultTransaction represents database transaction.
MySQL adapter for MySQL databeses.
RowConfig defines set of row variables.
RowData represents a database row.
RowsetConfig defines set of rowset variables.
SelectConfig defines set of select variables.
SQLExpr represents an SQL expression.
TableColumn represents information schema column.
TableConfig defines set of table variables.
TableInfo holds table info.
TableReference holds table references.
TransactionConfig represents transaction configuration.
# Interfaces
Adapter represents database adapter interface.
Connection represents connection interface.
No description provided by the author
Row represents row interface.
Rowset represents rows interface.
Select is a select interface.
Table is an interface for db table.
Transaction represents transaction interface.