Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pgx.ConnConfig Schemas []string Relations SchemaRelations PoolSize int Pool *pgx.ConnPool }
Database - represents Schema with Schemas
func (*Database) FetchRelations ¶
FetchRelations - sets existing relations for database
type Keyvalue ¶
type Keyvalue map[string]interface{}
Keyvalue - represents {column: value} mapping, without any type-checking
type Relation ¶
type Relation struct { Name string Attributes []column }
Relation - represents PostgreSQL relation
type SchemaRelations ¶
SchemaRelations - mapping from schema name to its relations
Click to show internal directories.
Click to hide internal directories.