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

how to update a Document within an Array that belongs to a outer document?

I have the following Document: mainDoc = { owner: Meteor.userId(), createdOn: new Date(), active: false, label: "Dashboard #" + ($("ul#u-nav-tabs").find("li.u-tab").length + 1), monitors: [/*Embedded…
juanp_1982
  • 917
  • 2
  • 16
  • 37
0
votes
1 answer

How can I avoid an infinite loop in my meteor router?

I'm building an online store in meteor where customers can customize products in the store. I have setup a client-only collection called Inventory which stores all the product data and is updated accordingly in response to user input. Once the user…
gaplus
  • 279
  • 4
  • 15
0
votes
1 answer

Meteor subscribe and publish permissions for indirect parameters

I am building a family tree and using a collection with people that denotes parents as an object with an array of the two id's as such { id: 1, name: "John Doe", parents: [3,4] } and can find ascendants and descendants. This collection could have…
Ali Camarata
  • 147
  • 1
  • 8
0
votes
1 answer

Meteor Mongo find does not work for _id: 0

I have a template named qa and inside it I am using a helper named question, which will get the text field of my document, based on the _id property. Template.qa.helpers({ question: function () { return Questions.find({_id:…
dayuloli
  • 16,205
  • 16
  • 71
  • 126
0
votes
1 answer

Why does Meteor lose collection values when using git

So here is the problem: Everytime I insert new values into my collection (lets call it "Locations" Collection) and submit my changes to my Git repository, I lose all changes that I have made to this collection. Shouldn't Git upload all changes I…
Alex Junge
  • 57
  • 5
0
votes
0 answers

Extracting document using $geoNear in Meteor

Minimongo doesn't provide $geoNear functionality, so if this is a search requirement then it has to be done on the server. This leads to a problem when the local collection contains results from multiple publications, since there's no way to extract…
tarmes
  • 15,366
  • 10
  • 53
  • 87
0
votes
2 answers

MeteorJS & MongoDB: How to get next 10 entries

I have a database like this : { "_id" : "xFZtChfKTf3GLxFEg", "category" : "pranks", "date" :new Date(), "rate" : { "up" : 0, "down" : 0 }, "user" : "User_1", "vTitle" : "Kissing Prank - How to Kiss ANY Girl in 10…
em.rexhepi
  • 289
  • 1
  • 5
  • 17
0
votes
0 answers

Meteor not returning document field using "return" but does using console.log();

I have a basic query to get the email list of the people in my database. When I console.log() it through console, it works great, but within the app it just doesn't. // this works in console.log() but not in the app return…
Mike
  • 1
0
votes
3 answers

How to manually poll data with meteor?

I have built a rolling log table where the most recent 500 events are shown. I do not want it to be reactive because the traffic is too high and it would have just make the screen flash constantly. Instead, I'd like to make the client poll the…
fatdragon
  • 2,211
  • 4
  • 26
  • 43
0
votes
1 answer

How to use $min mongo query in Meteor.js?

I'm basically trying to create a filter that only displays accounts that have more than one post. return tags.find([{owner: this.userId, count: { $min: 1}}]); It ends up returning nothing. I tried using .min() and other stuff as well. I believe…
Mike
  • 1
0
votes
0 answers

Get matching fields in a find() with $or operand

I am doing a find() operation on my collection like this: db.posts.find({ "$or":[ { "name": keywords }, { "description": keywords }, { "tags": keywords } ] }); keywords is a RegEx, everything works great. But I was…
picsoung
  • 6,314
  • 1
  • 18
  • 35
0
votes
1 answer

Followup: Meteor.users with string argument

I have a template iterating through user _id strings.
0
votes
1 answer

Regular Expression error in mongodb if string contains arithmetic operators

using Mongodb in my meteor application I am making a query using regular expression to check if the name or code is already available in the database or not. In my string all the numbers and special character are included. But when regular…
Sajid Ahmad
  • 1,124
  • 4
  • 18
  • 40
-1
votes
1 answer

Meteor methods and performance

We have some meteor methods in our application which are not really being used. There are also few methods available both at client and server side, but are "Actually" being used only on either of the 2 ends. Question: Can these things have an…
Megha Dev
  • 180
  • 1
  • 12
1 2 3
10
11