Documentation
¶
Index ¶
Constants ¶
View Source
const ( // P0755 is the permission mode for the database files. P0755 = 0755 // BatchSize is the default batch size for the database. BatchSize = 1000 )
View Source
const ( // RemoverWildcard is the wildcard for the remover. RemoverWildcard = "[+|#|+]" // NullWildcard is the wildcard for the null. NullWildcard = "x00" )
View Source
const (
// DocumentFieldID is the field name for the document ID.
DocumentFieldID = "_id"
)
Variables ¶
View Source
var ( CollectionKeyPathmatcher = pathmatcher.NewPath("dbs/{db}/colls/{collection}") CollectionKeyStringFormat = "dbs/%s/colls/%s" DocumentKeyPathmatcher = pathmatcher.NewPath("dbs/{db}/colls/{collection}/docs/{docId}") DocumentKeyStringFormat = "dbs/%s/colls/%s/docs/%s" IndexKeyPathmatcher = pathmatcher.NewPath("dbs/{db}/colls/{collection}/idxs/{indexName}/{fields}/{values}/{docId}") IndexKeyStringFormat = "dbs/%s/colls/%s/idxs/%s/%s/%s/%s" MetadataDatabaseKeyPathmatcher = pathmatcher.NewPath("meta/dbs/{db}") MetadataDatabaseKeyStringFormat = "meta/dbs/%s" MetadataCollectionKeyPathmatcher = pathmatcher.NewPath("meta/dbs/{db}/colls/{collection}") MetadataCollectionKeyStringFormat = "meta/dbs/%s/colls/%s" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.