package
1.0.0
Repository: https://github.com/zoobr/csxschema.git
Documentation: pkg.go.dev

# Functions

Get returns instance of Database by database name.
GetAll returns list of all registered databases.
New creates & registers list of Database instances using list of params.
NewDatabase creates new instance of Database interface using params.
PrepareData prepares values for INSERT or UPDATE statements from different types.
Returning creates a struct for lists of values & destinations for RETURNING clause of INSERT or UPDATE statements.

# Constants

default path for migrations.
No description provided by the author
No description provided by the author
default max count of opened connections.
ON CONFLICT DO NOTTHING strategy.

# Structs

AliasedQuery is a struct for SQL SELECT statement with alias.
ConflictClause s a struct that represents ON CONFLICT clause.
DatabaseParams is a struct for database params.
DBColumnInfo is a struct for info about column (from database).
InsertExt is a struct that represents the extended clauses of INSERT statement.
No description provided by the author
Query is a base struct for SELECT statement.
ReturningDest is a struct for lists of values & destinations for RETURNING clause of INSERT or UPDATE statements.
UnionClause is a struct which stores UNION clause.

# Interfaces

Database is interface providing common methods to support different databases.

# Type aliases

No description provided by the author