Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this._db._initExtraInfo is not a function #161

Closed
4Z4T4R opened this issue May 5, 2016 · 5 comments
Closed

TypeError: this._db._initExtraInfo is not a function #161

4Z4T4R opened this issue May 5, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@4Z4T4R
Copy link

4Z4T4R commented May 5, 2016

Originally thought to be an issue with MongoDB Shell. They claim it is a result of Mongo-Hacker. Here's the original ticket at MongoDB with a complete repro procedure.

https://jira.mongodb.org/browse/SERVER-24065

@TylerBrock
Copy link
Owner

Hey, thanks for reporting this. What version of the shell are you running?

@4Z4T4R
Copy link
Author

4Z4T4R commented May 6, 2016

0.0.13 -- Apologies for failing to mention. :)

@TylerBrock
Copy link
Owner

TylerBrock commented May 6, 2016

no thats ok, :-) but i meant what version of the MongoDB shell are you running?

@4Z4T4R
Copy link
Author

4Z4T4R commented May 6, 2016

v3.2.6 she'll into a v3.2.5 remote server--- details are in the Mongo JIRA. :)

@chintan100
Copy link

I get this error as well. Below is my configuration:

MongoDB shell version v3.6.5
MongoDB server version: 3.2.19
Mongo-Hacker 0.0.14

I am trying to delete earliest 10 records from mongoDB using this query:

db.getCollection('Status').find({}).sort({_created_at:1}).limit(10).remove()
2018-12-25T18:04:27.739+0530 E QUERY    [thread1] TypeError: this._db._initExtraInfo is not a function :
DBQuery.prototype.remove@/Users/xxxxxxxxxx/.mongorc.js:448:5
@(shell):1:1

However, if I just do db.getCollection('Status').find({}).sort({_created_at:1}).limit(10) it works fine and does list the records. If I add .remove(), it gives the above error.

@stennie stennie added this to the 0.1.0 milestone Aug 24, 2019
@stennie stennie added the bug label Aug 24, 2019
@stennie stennie self-assigned this Aug 25, 2019
stennie added a commit to stennie/mongo-hacker that referenced this issue Aug 25, 2019
@stennie stennie closed this as completed Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants