bloomdb

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: MIT Imports: 10 Imported by: 0

README

initial commit

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIndex

func CreateIndex(db *sql.DB, table string, column string) error

func MakeKey

func MakeKey(values ...string) string

func Sync

func Sync(db *sql.DB, table string, columns []string, rows chan []string) error

func Upsert

func Upsert(db *sql.DB, table string, columns []string, rows chan []string, parentKey string) error

Types

type BloomDatabase

type BloomDatabase struct {
	// contains filtered or unexported fields
}

func CreateDB

func CreateDB() *BloomDatabase

func (*BloomDatabase) SearchConnection

func (bdb *BloomDatabase) SearchConnection() *elastigo.Conn

func (*BloomDatabase) SqlConnection

func (bdb *BloomDatabase) SqlConnection() (*sql.DB, error)

Jump to

Keyboard shortcuts

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