// WithNamespacedUniqueTimestampQuery adds unique timestamps to queryDoc sub-docs
WithNamespacedUniqueTimestampQuery adds unique timestamps to queryDoc sub-docs
// WithNamespacedUniqueTimestampQuery adds unique timestamps to queryDoc sub - docs
func WithNamespacedUniqueTimestampQuery(queryDoc bson.M, timestamps []primitive.Timestamp, prefixes []string) bson.M {
	newQueryDoc := queryDoc
	for idx, prefix := range prefixes {
		newQueryDoc[prefix+UniqueTimestampKey] = timestamps[idx]
	}
	return newQueryDoc
}
func WithNamespacedUniqueTimestampQuery ( queryDoc bson . M , timestamps [ ] primitive . Timestamp , prefixes [ ] string ) bson . M { newQueryDoc := queryDoc for idx , prefix := range prefixes { newQueryDoc [ prefix + UniqueTimestampKey ] = timestamps [ idx ] } return newQueryDoc }
WithNamespacedUniqueTimestampQuery adds unique timestamps to queryDoc sub-docs
WithNamespacedUniqueTimestampQuery adds unique timestamps to queryDoc sub - docs