Questions tagged [minimongo]

Minimongo refers either to [tag:meteor] client-side MongoDB database, or the Python lightweight schemaless object-oriented interface to MongoDB.

For , Minimongo is an in-memory database with nearly full support for operations.

For , Minimongo is a lightweight, schemaless, Pythonic Object-Oriented interface to MongoDB.

It provides a very thin, dynamically typed (schema-less) object management layer for any data stored in any MongoDB collection. Minimongo directly calls the existing pymongo query syntax.

Minimongo can easily layer on top of existing MongoDB collections, and will work properly with almost any existing schema, even from third party applications.

164 questions
2
votes
0 answers

MongoDb for offline data storage

Does Mongodb have a provision to store local data offline and upload data when online in android? Have read about NeDB and mini-mongo, which one is better?
Divya Nair
  • 39
  • 4
2
votes
1 answer

Meteor query sort error "Requests.find(...).sort is not a function"

I need to sort "datetime" ascending format. But getting an error "Requests.find(...).sort is not a function" meteor mini mongo find var results = Requests.find({ "sp_id": request.sp_id, "slot": request.slot, "date": request.date, …
Shemeer M Ali
  • 1,030
  • 15
  • 39
2
votes
1 answer

"Unrecognized logical operator: $in" Mongo.collection update

I'm getting this error: "Unrecognized logical operator: $in" while using this query: this.update( {}, { $pull: { words: { $in:['string', 'string1'] } …
lvlzqz
  • 33
  • 6
2
votes
1 answer

MongoDB: Update nested array element or insert it if not existing

This is how a document structure could be in my case: { "_id" : "P9H59RuSbnm45erj7", "description" : [ { "content" : "Something", "language" : "en", "timestamp" : 1476958705 }, { …
user3142695
  • 15,844
  • 47
  • 176
  • 332
2
votes
1 answer

Meteor/MongoDB: Update an array item in a collection by index

This is an overview of the structure of my collection: { profile: { first_name: 'Plop', surname: 'Plopette', ... }, medical_history: { significant_illnesses: [ 'Asthma', 'Diabetes' ], ... } } How do I…
wiredfordesign
  • 211
  • 3
  • 11
2
votes
1 answer

Is there a $ operator alternative in Meteor's Minimongo?

I'm trying to query for a specific element inside an array in a Meteor collection on the client side, but Minimongo doesn't support the $ operator. Is there an alternative to filter my query so it returns just the specific element in the array? My…
Josh Vickerson
  • 429
  • 5
  • 16
2
votes
2 answers

Meteor Pub / Sub behaviour

I'm currently implementing a realtime search function in my app and I've come across some behaviour which I'm confused about. The background is: I have two subscriptions from the same MongoDB database on my server, named posts. The first…
clery00
  • 251
  • 2
  • 14
2
votes
2 answers

How to dynamically give the collection filed name in Meteor?

I have these codes now: OneCollection.find({}, {fields: {'oneFiled.child1': 1}}); OneCollection.find({}, {fields: {'oneFiled.child2': 1}}); But I want to give a dynamically child filed name. let childfield = "child1"; OneCollection.find({},…
Hongbo Miao
  • 45,290
  • 60
  • 174
  • 267
2
votes
0 answers

Handling multiple subscriptions on same page of Meteor app

I have multiple subscriptions on the search results page of a Meteor app. So in the middle is a template for the search results of items, on the left is a template for trending items, and on the right is a template for related items. On the server…
anon
  • 2,143
  • 3
  • 25
  • 37
2
votes
1 answer

In Meteor, a MongoDB update is not seen in the Mongo shell

This is a very odd problem. I am running a cursor.observe() in a Tracker.autorun(), but the changes are only occurring when I refresh the page. Here is the imporant code: Client Side Tracker.autorun(function (){ var initializing = true; …
forallepsilon
  • 429
  • 2
  • 16
2
votes
1 answer

Meteor : Changes in collections are not reflected in rendered HTML

I have been trying to doing some very simple publish/subscribe in Meteor and I cannot get it to work as I expect from reading the sources available such as the Meteor documentation. I am using a Macbook Pro with OSX Yosemite and running Node.js…
svesti
  • 23
  • 3
2
votes
1 answer

How to create Meteor collection in different database?

I am able to create new meteor collection using Test = new Meteor.Collection("testCollection") But it creates testCollection inside admin database of my mongo installation. Say I have two separate databases inside mongo like testing and another is…
Pratik K
  • 33
  • 4
2
votes
2 answers

Unable to drop Mongodb index in Meteor.js

How can a collection's index be dropped from a Meteor server? Games._dropIndex() Games._ensureIndex({ name: 'text', description: 'text' }) This gives an error MongoError: invalid index name spec
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
2
votes
1 answer

Efficient and flexible Javascript library to query large JSON files that allows aggregation?

I am dealing with large json files with deep hierarchical structure on the frontend and I want to be able to query and aggregate them efficiently,the same way I query mongoDB or redis collections. I am aware of two libraries: Minimongo which I'm…
MostafaMV
  • 2,181
  • 3
  • 16
  • 22
2
votes
2 answers

Does MeteorJS Mini Mongo use disk? or just memory?

I would like to know if MeteorJS's mini mongo (just to be clear, on the client) retrieves its data from memory (RAM) of from disk (maybe local storage). Also if it write to disk the objects received. I'm concerned about performance (and app…
Tomas Romero
  • 8,418
  • 11
  • 50
  • 72
1 2
3
10 11