You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get latest document that have been change. for example, in "lessons" mongo collections, I update "$unset" the "room_id" filed of "lessons" collections , I need the doc data without "room_id" field.
I shouled select Op.Data and Op.Doc ? Op.Doc is value of Op.Data field "Doc" ?
The text was updated successfully, but these errors were encountered:
Op.Data was added first, it is your MongoDB data as a go map. Later, Op.Doc was added so that the type could be changed to interface{}. This allows one to do custom unmarshalling into your own struct.
I want to get latest document that have been change. for example, in "lessons" mongo collections, I update "$unset" the "room_id" filed of "lessons" collections , I need the doc data without "room_id" field.
I shouled select Op.Data and Op.Doc ? Op.Doc is value of Op.Data field "Doc" ?
The text was updated successfully, but these errors were encountered: