sql

package
v2.0.0-dev.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Database

type Database interface {
	Apply(f func(db *sql.DB) error) error
}

type StoreBuilder

type StoreBuilder struct {
	// contains filtered or unexported fields
}

func NewStoreBuilder

func NewStoreBuilder(d Database) StoreBuilder

func (StoreBuilder) CreateStore

func (b StoreBuilder) CreateStore(table string) (kv.KeyValue, error)

type TsBuilder

type TsBuilder struct {
	// contains filtered or unexported fields
}

func NewTsBuilder

func NewTsBuilder(d Database) TsBuilder

func (TsBuilder) CreateTs

func (b TsBuilder) CreateTs(table string) (kv.Tskv, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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