Documentation ¶
Index ¶
- Variables
- func RestfulAPIDeleteMany(collName string, filter bson.M)
- func RestfulAPIDeleteOne(collName string, filter bson.M)
- func RestfulAPIGetMany(collName string, filter bson.M) []map[string]interface{}
- func RestfulAPIGetOne(collName string, filter bson.M) map[string]interface{}
- func RestfulAPIJSONPatch(collName string, filter bson.M, patchJSON []byte) bool
- func RestfulAPIJSONPatchExtend(collName string, filter bson.M, patchJSON []byte, dataName string) bool
- func RestfulAPIMergePatch(collName string, filter bson.M, patchData map[string]interface{}) bool
- func RestfulAPIPost(collName string, filter bson.M, postData map[string]interface{}) bool
- func RestfulAPIPutMany(collName string, filterArray []bson.M, putDataArray []map[string]interface{}) bool
- func RestfulAPIPutOne(collName string, filter bson.M, putData map[string]interface{}) bool
- func RestfulAPIPutOneNotUpdate(collName string, filter bson.M, putData map[string]interface{}) bool
- func SetMongoDB(setdbName string, url string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Client *mongo.Client = nil
Functions ¶
func RestfulAPIDeleteMany ¶
func RestfulAPIDeleteOne ¶
func RestfulAPIGetMany ¶
func RestfulAPIGetOne ¶
func RestfulAPIJSONPatch ¶
func RestfulAPIMergePatch ¶
func RestfulAPIPost ¶
func RestfulAPIPutMany ¶
func RestfulAPIPutOne ¶
func SetMongoDB ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.