Any harm if I accidentally store a null in BSON?

23 views
Skip to first unread message

Alex Rogachevsky

unread,
Aug 24, 2015, 4:50:16 PM8/24/15
to mongodb-user
I try to avoid it (less data to store), but sometimes it happens. Any official guidelines?

Chris De Bruyne

unread,
Aug 29, 2015, 4:49:00 AM8/29/15
to mongodb-user
Why do you think this would be harmful?

A. Jesse Jiryu Davis

unread,
Aug 29, 2015, 11:59:37 AM8/29/15
to mongodb-user
It's a supported value type in the BSON spec, no harm. Use it if it appropriately represents a value to your application.
Reply all
Reply to author
Forward
0 new messages