Documentation
¶
Index ¶
- func CreateCollection(dbName, collectionName string) error
- func CreateDatabase(dbName string) error
- func DeleteCollection(dbName, collectionName string) error
- func DeleteDatabase(dbName string) error
- func GetDocPath(dbName, collectionName, docID string) (string, error)
- func ListCollections(dbName string) ([]string, error)
- func ListDatabases() ([]string, error)
- func ListDocuments(dbName, collectionName string, filters []DocumentFilter, ...) ([]map[string]interface{}, error)
- func LoadDocument(dbName, collectionName, docID string) (map[string]interface{}, error)
- func SaveDocument(dbName, collectionName, docID string, data map[string]interface{}) error
- type DocumentFilter
- type DocumentPagination
- type DocumentSort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollection ¶
func CreateDatabase ¶
func DeleteCollection ¶
func DeleteDatabase ¶
func GetDocPath ¶
func ListCollections ¶
func ListDatabases ¶
func ListDocuments ¶
func ListDocuments(dbName, collectionName string, filters []DocumentFilter, sortParams *DocumentSort, pagination *DocumentPagination) ([]map[string]interface{}, error)
func LoadDocument ¶
func SaveDocument ¶
Types ¶
type DocumentFilter ¶
type DocumentPagination ¶
type DocumentSort ¶
Click to show internal directories.
Click to hide internal directories.