sql

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sql accesses a db

Index

Constants

This section is empty.

Variables

View Source
var ErrNoSuchDriver = errors.New("no such db driver")

ErrNoSuchDriver indicates the driver does not exist.

Functions

func NewStoreFromConfig

func NewStoreFromConfig(ctx context.Context, dbType dbcommon.DBType, connString string) (db.SynapseDB, error)

NewStoreFromConfig creates a new datastore from a config file. nolint: wrapcheck

Types

This section is empty.

Directories

Path Synopsis
Package base contains the base sql implementation
Package base contains the base sql implementation
Package mysql implements the mysql package
Package mysql implements the mysql package
Package sqlite implements the sqlite package
Package sqlite implements the sqlite package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL