javascript - MongoDB shell : reading a line from the console

标签 javascript shell mongodb stdin readline

有没有办法从 Mongo shell 中读取一行? readline() 未定义,system.stdin 也未定义。

我需要在交互模式下执行此操作,而不是向 MongoDB shell 执行的脚本提供输入。

最佳答案

根据@Stennie 的评论,目前这是不可能的。

关于javascript - MongoDB shell : reading a line from the console,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11333248/

相关文章:

javascript - 如何关闭自身内部的 iframe?

javascript - Ajax 不支持 IE 9

arrays - 无法将函数参数分配给 `Zsh` 中的局部数组变量

c++ - linux下如何同时运行多个shell命令

node.js - 使用mongoose更新mongodb中的所有数据

javascript - [jsTree] : why the 'rename' and 'move' events are not fired with new nodes?

javascript - Crontab 未运行重新加载页面的 javascript

shell - 如何在unix中使用进程ID仅获取进程名称

java - 用于枚举字段的 mongoDb 和 spring 数据自定义转换器

mongodb - mongodb 中的复合索引语法