Documentation ¶
Index ¶
- func Delete(itemId, collectionName string) error
- func DeleteMany(itemIds []string, collectionName string) error
- func Insert[T any](value Document[T], collectionName string) (any, error)
- func InsertMany[T any](values []Document[T], collectionName string) ([]any, error)
- func SetConfig(config DBConfig)
- func Update[T any](itemId, collectionName string, newValue Document[T]) error
- func UpdateMany[T any](ids []string, newValues []Document[T], collectionName string) error
- type DBConfig
- type DBProvider
- type DBType
- type Document
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteMany ¶
func InsertMany ¶
Types ¶
type DBProvider ¶
type DBProvider int32
const (
Azure DBProvider = iota
)
func (DBProvider) String ¶
func (p DBProvider) String() string
Click to show internal directories.
Click to hide internal directories.