[SERVER-19330] Interact with user in mongo batch by using nodejs readline module Created: 08/Jul/15  Updated: 08/Jul/15  Resolved: 08/Jul/15

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Trivial - P5
Reporter: Laurent Strullu Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

I don't see any possibility to interact with use during a mongo shell batch.



 Comments   
Comment by Sam Kleinman (Inactive) [ 08/Jul/15 ]

The mongo shell does not use a Node.JS environment, but does include a user interaction mode that's roughly equivalent to readline for many common operations. You can always use the NodeJS Driver in an interactive javascript environment as a client for MongoDB.

I hope this helps. If you have questions about MongoDB or want to learn more about using the Node you can contact the mongodb-node user forumhttps://groups.google.com/forum/#!forum/node-mongodb-native or the mongodb-user fourm user forum. I'm going to go ahead and close this ticket, but do be in touch with one of the user forums if you have more questions about this.

Generated at Thu Feb 08 03:50:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.