How to distinguish a non-existent field from a null field in Bson document retrieved from Mongo?
if(bson["field"].isNull) {
// non-existent field or null field???
}
How to distinguish a non-existent field from a null field in Bson document retrieved from Mongo?
if(bson["field"].isNull) {
// non-existent field or null field???
}