mysql

package
v0.0.0-...-4b1b879 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2013 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mysql implements the Camlistore index storage abstraction on top of MySQL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStorage

func NewStorage(host, user, password, dbname string) (index.Storage, error)

NewStorage returns an index.Storage implementation of the described MySQL database. This exists mostly for testing and does not initialize the schema.

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