Documentation ¶
Index ¶
Constants ¶
View Source
const ( InsertOneKey = "odm.Manager.InsertOne" InsertManyKey = "odm.Manager.InsertMany" DeleteOneKey = "odm.Manager.DeleteOne" DeleteManyKey = "odm.Manager.DeleteMany" UpdateOneKey = "odm.Manager.UpdateOne" UpdateManyKey = "odm.Manager.UpdateMany" ReplaceOneKey = "odm.Manager.ReplaceOne" CountDocumentsKey = "odm.Manager.CountDocuments" DistinctKey = "odm.Manager.Distinct" FindOneKey = "odm.Manager.FindOne" FindManyKey = "odm.Manager.FindMany" FindOneAndDeleteKey = "odm.Manager.FindOneAndDelete" FindOneAndReplaceKey = "odm.Manager.FindOneAndReplace" FindOneAndUpdateKey = "odm.Manager.FindOneAndUpdate" FilterKey = "odm.Manager.Filter" UpdateKeys = UpdateOneKey + "|" + UpdateManyKey DeleteKeys = DeleteOneKey + "|" + DeleteManyKey )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountDocumentsEvent ¶
type CountDocumentsEvent struct { event.Event CollectionName string Filter interface{} Options []*options.CountOptions }
type DeleteEvent ¶
type DeleteEvent struct { event.Event CollectionName string Filter interface{} Options []*options.DeleteOptions }
type DistinctEvent ¶
type FilterEvent ¶
type FindManyEvent ¶
type FindManyEvent struct { event.Event CollectionName string Filter interface{} Options []*options.FindOptions }
type FindOneAndDeleteEvent ¶
type FindOneAndDeleteEvent struct { event.Event CollectionName string Filter interface{} Options []*options.FindOneAndDeleteOptions }
type FindOneAndReplaceEvent ¶
type FindOneAndReplaceEvent struct { event.Event CollectionName string Filter interface{} Options []*options.FindOneAndReplaceOptions Document interface{} }
type FindOneAndUpdateEvent ¶
type FindOneAndUpdateEvent struct { event.Event CollectionName string Filter interface{} Options []*options.FindOneAndUpdateOptions Document interface{} }
type FindOneEvent ¶
type FindOneEvent struct { event.Event CollectionName string Filter interface{} Options []*options.FindOneOptions }
type InsertManyEvent ¶
type InsertManyEvent struct { event.Event CollectionName string Documents []interface{} Options []*options.InsertManyOptions }
type InsertOneEvent ¶
type InsertOneEvent struct { event.Event CollectionName string Options []*options.InsertOneOptions Document interface{} }
type ReplaceEvent ¶
type ReplaceEvent struct { event.Event CollectionName string Filter interface{} Document interface{} Options []*options.ReplaceOptions }
type UpdateEvent ¶
type UpdateEvent struct { event.Event CollectionName string Filter interface{} Document interface{} Options []*options.UpdateOptions }
Click to show internal directories.
Click to hide internal directories.