-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Per SERVER-40354, $db is always stripped from a command result mongocryptd. But libmongocrypt will return the original command (unmodified) if it determines no encryption is necessary because no schema was configured. For consistency, we should always strip $db. Then wrapping drivers can always append $db after auto encryption.