the issue i have with this is that id like to also get $currentDate in $setOnInsert
sadly doing "$setOnInsert": {"$currentDate": {"timestamps.added": True}} doesn’t really work.
This works fine as it is but im storing two different server times when using datetime.utcnow()
I would be grateful for hints or help, i did look into the docs but didint really find a solution
I also would like to use $currentDate with $setOnInsert (using the C# driver), but I suspect that this isn’t possible.
Can someone confirm that or give an example on how this can be done?