Sample Header Ad - 728x90

MongoDB + Compass exporting strings and numbers "columns" with value of 1 as "true"(boolean) and 2 or null as "false" to CSV

1 vote
1 answer
756 views
When I export my MongoDB collection to a CSV, the String and Number "column" data types values are converted to "true" for 1 and "false" for 2 and null - how do I retain the values as numbers, strings and integers on export to CSV from Compass?
Asked by CoolElectricity (21 rep)
Dec 9, 2020, 05:19 PM
Last activity: Jul 26, 2025, 03:04 AM