Documentation ¶
Index ¶
- Variables
- func CloseConnection()
- func DeleteMany(filter bson.D) int64
- func DeleteOne(filter bson.D) booldeprecated
- func GetMany(filter bson.D) []bson.M
- func GetOne(filter bson.D) bson.M
- func InsertOne(data bson.D) primitive.ObjectID
- func OpenConnection(collectionName string)
- func UpdateMany(filter bson.D, data bson.D) int64
- func UpdateOne(filter bson.D, data bson.D) booldeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_DATABASE_NAME string
View Source
var DEFAULT_DATABASE_URI string
Functions ¶
func DeleteMany ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.