我的MongoExport将拉出三个字段 --fields firstname,lastname,email,city
输出:
firstname,lastname,email,city
"Fn1","Ln1","abc@abc.com","chicago"
"Fn2","Ln2","xyz@xyz.com","atlanta"
我希望隐藏电子邮件,因此我需要一个硬编码的价值' EMAIL'而不是实际的电子邮件。
"Fn1","Ln1","EMAIL","chicago"
"Fn2","Ln2","EMAIL","atlanta"
可以在mongo export中完成吗?