Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 324 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 324 Bytes

leveltable

leveltable is a wrapper of leveldb which supports table, batches and some other utilities...

Usage:

Code:

db, err := leveltable.New("leveltable.db", 1000, 10)
if err != nil {
	panic(err)
}

db.Table("table1").Put([]byte("key"), []byte("val"))
db.Table("table2").Put([]byte("key"), []byte("val")