我的MongoDB上有很多字段,但是我只想导出那些出现在我的JSON Schema上的字段。
这是我的JSON架构,我希望这些字段为.CSV:
{
"names": [
{
"source": 0,
"order": 0,
"version": 0,
"registrationDate": "",
"endDate": "",
"name": "",
"language": ""
}
],
"auxiliaryNames": [
{
"source": 0,
"order": 0,
"version": 0,
"registrationDate": "",
"endDate": "",
"name": "",
"language": ""
}
],
"addresses": [
{
"source": 0,
"version": 0,
"registrationDate": "",
"endDate": "",
"careOf": "",
"street": "",
"postCode": "",
"city": "",
"language": "",
"type": 0,
"country": ""
}
]