Answer the question
In order to leave comments, you need to log in
How to do collection lookups in MongoDB?
Is it possible to do this:
A person writes a command (let's say /dbcheck) to a bot, with variables /dbcheck [param1] [param2] and the bot looked in the database for a collection with the name that was specified in param1 and searched in this collection for the text written in param2 .
And did you send the line where you found this text to a person?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question