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
0
votes
1 answer

When subscribing to collection with params returns undefined

I am trying to sub to a collection called items, but every time I try to sub with a limit or skip, it returns the whole collection because it thinks the params are undefined. For example, I am trying to render 1 item from the collection:…
user8813240
  • 125
  • 1
  • 7
0
votes
1 answer

How to request to the server to send more data

Meteor.publish("items", (limit) => { return items.find({}, {limit: limit || 15}); }) renderMoreItems(){ const newRenderedItems = items.find(this.state.options, { skip: this.state.rendered, sort: {dateCreated: -1} }).fetch(); } I am…
user8813240
  • 125
  • 1
  • 7
0
votes
1 answer

MongoDB-like JS library to store objects in client side indexedDB?

Given the following localStorage code (jsfiddle) : // my new information var data = {character: "中", totalMistakes: 0}; var han = data.character; // create localStorage; Unpack, update, repackage knol /* **** THIS IS THE SECTION TO CONVERT ****…
Hugo LOPEZ
  • 605
  • 8
  • 21
0
votes
1 answer

MongoDB Querying Nested Arrays

I'm having some trouble with querying a Mongo Collection. I have a Collection like this: { "_id" : "555bd34329de3cf232434ef2", "cars" : [ { "0" : { "parts" : [ { "name" : "x1", …
0
votes
1 answer

Meteor restrict access to files and collections

In my app I have an admin area, this area also has some admin-client MiniMongo that goes with it. So the admin is subscribing to a publication, then this publication puts data from several collections on this admin-client MiniMongo collection. The…
U Rogel
  • 1,893
  • 15
  • 30
0
votes
2 answers

JavaScript Object vs minimongo efficiency

My Meteor client receives data from the server and stores it in minimongo. This data is guaranteed not to change during their session, so I don't need Meteor's reactivity. The static data just happens to arrive by that route; let's just take that as…
Maciek
  • 5
  • 3
0
votes
0 answers

Meteor cursor not returning correct number of data

Just want to share my problem regarding the issue I've encountered just in case there's some geeks people who can help me. :-) My problem is that... we are developing a meteor app using mongo as database and we have large number of data. Sometimes…
0
votes
1 answer

Sort and limit not working with Mongo + Meteor

This is my publish.js file in which I publish my collection: const tags = Tags.find({title: { $regex: `.*${searchString}.*`, $options: 'i' }}, { sort: { counts: -1 }, limit: 3 }); console.log(tags.count()); return…
Dani
  • 3,128
  • 2
  • 43
  • 91
0
votes
0 answers

Prevent any kind of deletion in mongoDB Collection

Is there a way to prevent deletion of objects in a mongoDB collection using a constraint or something else? Maybe you are thinking: Why he doesn't prevent it in his code? Well I'm having an issue with a conflicting package (GroundDB) in my…
Ruben
  • 816
  • 1
  • 8
  • 21
0
votes
1 answer

Save records into the same collection in Mongo DB using Meteor js

Being new to Meteor JS, I'm confused on how to update a record. I have 2 templates AddSchoolLayout and Schoolcontactlayout, AddSchoollayout creates the record in Mongo db, now, for the same school I want to add its address still on the same DB…
ken4ward
  • 2,246
  • 5
  • 49
  • 89
0
votes
3 answers

Why doesn't my query NOT recognize my valid variable?

Help! Something very strange is happening within my app. I have a merchantReview template that is supposed to show the number of reviewers. Below is what the template looks like: