sql

package
v0.0.103 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 8 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, prefix string) (db.SynapseDB, error)

NewStoreFromConfig creates a new datastore from a config file.

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