Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCollectionValueIsRequired = errors.NewError("135bc16c-001", "Value for mongo collection is required")
)
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection string
func CollectionFrom ¶
func CollectionFrom(str string) (Collection, error)
func (Collection) String ¶
func (c Collection) String() string
type DBIndex ¶
type DBIndex struct { Collection Collection Name string Keys []string Type DBIndexType Uniq bool }
type DBIndexType ¶
type DBIndexType int32
const ( DBIndexAsc DBIndexType = 1 DBIndexDesc DBIndexType = -1 )
type DBTextIndex ¶
Click to show internal directories.
Click to hide internal directories.