Back to godoc.org
camlistore.org / pkg / sorted / mysql

Package mysql

v0.0.0-...-a5a65f0
Latest Go to latest

The highest tagged major version is .

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

Overview

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

Index

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