Back to / pkg / sorted / mysql

Package mysql

Latest Go to latest

The highest tagged major version is .

Published: Dec 30, 2017 | License: Apache-2.0 | Module:


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


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
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier