Add audit to replace, update set

This commit is contained in:
George Suntres
2026-04-24 16:40:42 -04:00
parent 66ba2b8874
commit 25c4866515
5 changed files with 240 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ import (
"git.gsuntres.com/general/commons"
)
// InsertOneWithStruct can be used to insert defined structs.
func (c *MongoClient) InsertOneFromStruct(ctx context.Context, database, name string, data any) (bson.M, error) {
o, err := ToMap(data)