camlistore.org: camlistore.org/pkg/sorted/mysql Index | Files

package mysql

import "camlistore.org/pkg/sorted/mysql"

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

Index

Package Files

cloudsql.go dbschema.go mysqlkv.go

func CreateDB Uses

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

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

func SQLCreateTables Uses

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 Uses

func SchemaVersion() int

Package mysql imports 21 packages (graph) and is imported by 16 packages. Updated 2018-01-11. Refresh now. Tools for package owners.