mysql

package
v0.0.0-...-fcd5ff1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package mysql provides an implementation of sorted.KeyValue on top of MySQL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDB

func CreateDB(db *sql.DB, dbname string) error

CreateDB creates the named database if it does not already exist.

func SQLCreateTables

func SQLCreateTables() []string

Note: using character set "binary", as any knowledge of character set encodings is handled by higher layers. At this layer we're just obeying the IndexStorage interface, which is purely about bytes.

func SchemaVersion

func SchemaVersion() int

Types

This section is empty.

Jump to

Keyboard shortcuts

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