Discover Packages
github.com/CanonicalLtd/candid
store
sqlstore
package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Nov 15, 2019
License: AGPL-3.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewBackend creates a new store.Backend implementation using the
given driverName and *sql.DB. The driverName must match the value
used to open the database.
Closing the returned Backend will also close db.
type Params struct {
ConnectionString string `yaml:"connection-string"`
}
Params holds the specification for the parameters
used in the config file.
NewBackend implements store.BackendFactory.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.