hi, i want to make a data migration tool for migrating data from 1 environment to another, these environments will be feature environments but in order to populate data into these environments there is a need for a tool that can migrate data from a mongo into this environments instance of mongo.
so i was thinking of a simple application that takes a connection string in an input field so that we can migrate from any of our current and future mongo databases, and an input field to write a simple query to specify the dataset you need as there will be a data limit as to how much data you are allowed to migrate for various reasons,
this means that i will need to be able to pass not only a connection string from a string input field, which is the easy part, but be able to write find querys in another field that i will then be able to use with the c# driver and run against the database the connection string leads to.
is there a way to do this? or does mongoDB simply not support understanding queries from strings alike how SQL understands queries from strings?