Documentation ¶
Overview ¶
Package mongo provides an implementation of sorted.KeyValue using MongoDB.
Index ¶
Constants ¶
View Source
const (
CollectionName = "keys" // MongoDB collection, equiv. to SQL table
)
We explicitely separate the key and the value in a document, instead of simply storing as key:value, to avoid problems such as "." being an illegal char in a key name. Also because there is no way to do partial matching for key names (one can only check for their existence with bson.M{$exists: true}).
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.