Documentation
¶
Index ¶
- func BSONToMap(data bson.M) map[string]any
- func IsValidObjectID(id string) bool
- func MergeBSON(docs ...bson.M) bson.M
- func NewObjectID() primitive.ObjectID
- func ToBSON(data map[string]any) bson.M
- func ToBSONArray(data []map[string]any) []bson.M
- func ToObjectID(id string) (primitive.ObjectID, error)
- func ToObjectIDs(ids []string) ([]primitive.ObjectID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidObjectID ¶
func NewObjectID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.