Documentation ¶
Overview ¶
Package db facades the creation of different db connections and adapter imports in order to return a generalised db type. This makes it easier to create a new db connection throughout the application without having to worry about imports. Full documentatation: https://upper.io/v4/getting-started/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
func NewConnection ¶
func NewConnection(c DatabaseConfig, path ...string) (*Database, error)
NewConnection takes in a database configuration, for sqlite a single full file path, returns a new database connection layer.
type DatabaseConfig ¶
Click to show internal directories.
Click to hide internal directories.