Is there a way to read a line from the Mongo shell? readline()
is not defined and neither is system.stdin
.
I need to do this in interactive mode, as opposed to feeding input to a script executed by the MongoDB shell.
Per @Stennie's comment, this is not possible right now.