In MongoDB production, if a value of a key is empty or not provided (optional), should I use empty string value or should I use null for value.
1) Is there any pros vs c
i would say that null indicates absence of the value and empty string indicates that the value is there, but its empty. While reading the data you can distinguish between blank values and non-existing values. Still it depends upon your use-case
null