package
0.0.0-20241029124736-0866f7f054e7
Repository: https://github.com/module-repo/go-xorm.git
Documentation: pkg.go.dev

# Functions

ErrorRow return an error row.
FromDB creates a DB from a sql.DB.
GenSqlKey generates cache key.
GetCacheSql returns cacher PKs via SQL.
No description provided by the author
No description provided by the author
NewColumn creates a new column.
No description provided by the author
NewIndex new an index object.
No description provided by the author
No description provided by the author
No description provided by the author
NewRow from rows.
No description provided by the author
NewTable creates a new Table object.
Open opens a database.
No description provided by the author
PutCacheSql puts cacher SQL and PKs.
QueryDialect query if registered database dialect.
No description provided by the author
RegisterDialect register database dialect.
No description provided by the author
No description provided by the author
default sql type change to go types.
No description provided by the author
Type2SQLType generate SQLType acorrding Go's type.

# Constants

No description provided by the author
CacheExpired is default cache expired time.
CacheGcInterval represents interval time to clear all expired nodes.
CacheGcMaxRemoved represents max nodes removed when gc.
CacheMaxMemory is not use now.
enumerate all index types.
!nashtsai! following level also match syslog.Priority value.
enumerate all LogLevels.
enumerate all LogLevels.
enumerate all LogLevels.
enumerate all LogLevels.
enumerate all LogLevels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
enumerate all index types.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultCacheSize sets the default cache size.
No description provided by the author
No description provided by the author
list all the errors.
ErrNoMapPointer represents error when no map pointer.
ErrNoStructPointer represents error when no struct pointer.
list all the errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LintGonicMapper is A GonicMapper that contains a list of common initialisms taken from golang/lint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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

Base represents a basic dialect and all real dialects could embed this struct.
No description provided by the author
Column defines database column.
DB is a wrap of sql.DB with extra contents.
No description provided by the author
IdFilter filter SQL replace (id) to primary key column name.
Index represents a database index.
PrefixMapper provides prefix table name support.
QuoteFilter filter SQL replace ` to database's own quote character.
No description provided by the author
No description provided by the author
No description provided by the author
SameMapper implements IMapper and provides same name between struct and database table.
SeqFilter filter SQL replace ?, ? ..
SnakeMapper implements IMapper and provides name transaltion between struct and database table.
xorm SQL types.
Stmt reprents a stmt objects.
SuffixMapper provides suffix table name support.
Table represents a database table.
No description provided by the author
No description provided by the author

# Interfaces

Cacher is an interface to provide cache id format : u-<pk1>-<pk2>...
CacheStore is a interface to store cache.
Conversion is an interface.
a dialect is a driver's wrapper.
No description provided by the author
Filter is an interface to filter SQL.
ILogger is a logger interface.
IMapper represents a name convertation between struct's fields name and table's column name.

# Type aliases

No description provided by the author
GonicMapper implements IMapper.
LogLevel defines a log level.
No description provided by the author
No description provided by the author