Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interface ¶
type Interface interface {
Prepare() error
Close() error
DropCollection(db string, doc object.Interface) error
DropDatabase(db string) error
One(doc object.Interface) error
List(docs object.Interfaces, opt object.ListOpt) (int, error)
ListParent(parent string, docs object.Interfaces) error
Insert(doc object.Interface) error
Update(doc object.Interface) error
Remove(doc object.Interface) error
}
Interface defines the base functionality which any storage handler should implement to become valid storage handler
Click to show internal directories.
Click to hide internal directories.