javascript - How to check all collections in Mongo database to find field name exists in which collection -
i have list of field names in file "field_name_list.txt". want know field exists in collection in mongo database using java script or mapreduce job or mongo code.
let me give example
field_name_list.txt
firstname lastname address zip
collection in database:
personal_data adress
i want output below:
fieldname collection_name firstname personal_data lastname personal_data address address zipcode address
Comments
Post a Comment