Report fields added
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"git.gsuntres.com/general/mongo"
|
||||
)
|
||||
|
||||
func BuildDeleteOne(col map[string]any) {
|
||||
func BuildDeleteOne(col map[string]any, report *InitReport) {
|
||||
name := col["_name"].(string)
|
||||
singular := col["singular"].(string)
|
||||
|
||||
@@ -36,6 +36,8 @@ func BuildDeleteOne(col map[string]any) {
|
||||
isSystem = v.(bool)
|
||||
}
|
||||
|
||||
report.AddField(deleteOneName)
|
||||
|
||||
mc := mongo.GetMongoClient()
|
||||
|
||||
// we defer function's implementation until we create the actual struct
|
||||
|
||||
Reference in New Issue
Block a user