sql

package
v0.0.132 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sql provides a datastore implementation for the executor.

Index

Constants

This section is empty.

Variables

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

ErrNoSuchDriver indicates that the driver is not supported.

Functions

func NewStoreFromConfig

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

NewStoreFromConfig creates a new database 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