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

Can meteor mongo driver handle $each and $position operators?

I work on a meteor application with meteor bundle up to date. I want to reposition an item within a mongo document array. To achieve that, I $pull it out of the array, and then $push it at a specific index position according to mongoDB…
Billybobbonnet
  • 3,156
  • 4
  • 23
  • 49
13
votes
2 answers

Mongo geospatial index and Meteor

I am wondering if it is possible to use a mongodb geospatial index with Meteor architecture. Minimongo does not implement geospatial indices, but does this mean that we cannot use this mongo feature on the server side? For example, with the todos…
jeangui
  • 183
  • 2
  • 10
11
votes
1 answer

MongoDB - Project only the matching element in an array

How could I get one element from array from Mongo document with following structure: { array : [ {type: 'cat', name: 'George'} {type: 'cat', name: 'Mary'} {type: 'dog', name: 'Steve'} {type: 'dog',…
expeerd
  • 123
  • 1
  • 7
10
votes
5 answers

Query from minimongo of large number of records stucks and hangs browser

I am building a page for admin in angular-meteor. I have published all the records from a collection: "posts" and have taken the subscription of all the records on front end. $meteor.subscribe('posts'); In the controller, if I select the cursors of…
StormTrooper
  • 1,731
  • 4
  • 23
  • 37
8
votes
3 answers

Meteor 0.8.2 client collection is empty when insert a new object

I am working on a project which is using meteor 0.7.2 and it is working fine. After updating to meteor 0.8.2 I am facing an issue. When I insert an object to the collection from client side immediately the collection is empty and then it's…
Rasekaran
  • 334
  • 2
  • 12
8
votes
1 answer

How can I integrate SlickGrid with Meteor.js reactive collections?

SlickGrid focuses on displaying the data from a table or array, which is great. Meteor focuses on manipulating the data, but uses Minimongo. How can SlickGrid integrate with Minimonogo collections and preserve its fast display and large data…
thomasf1
  • 1,782
  • 4
  • 18
  • 32
7
votes
2 answers

Can I use Minimongo without using the entire Meteor or Blaze framework?

I am dealing with large json files on the client side. I want to be able to query the json in the same way I query mongo collections on the server side. I recently heard about minimongo which is exactly what I want. By the way, my backend is Flask…
MostafaMV
  • 2,181
  • 3
  • 16
  • 22
7
votes
7 answers

How can I view the contents of the Minimongo database in the client with Meteor?

I know I can query CollectionName.find().fetch() in the browser's JS console. Are there other tools that are the equivalent of a GUI admin tool for all the browser's local minimongo storage ?
Dean Radcliffe
  • 2,194
  • 22
  • 29
5
votes
1 answer

findOne throwing undefined even though the data is there

I'm new to Meteor so I've been playing around and now I'm stuck with this problem. I'm using React Router to try to show a theme based in the URL /(:userId). If there's no userId inserted into the URL it should show the current user's theme and If…
hiei
  • 53
  • 4
5
votes
1 answer

What are minimongo (Meteor) limitations? cursor.toArray() fails client side

I was butting my head yesterday trying to get an array of query results within Meteor using cursor.toArray() (See http://docs.mongodb.org/manual/reference/method/cursor.toArray/) I could not get it to work. Finally I tried it in the Meteor mongo…
Cerulean
  • 543
  • 2
  • 7
  • 17
5
votes
1 answer

Namespaced Collections in Meteor

I'm currently developing a Meteor application which will be based on different packages (maybe created by different developers). My question is if there's a meteor'ish way to namespace collections so that they won't collide with other available…
pmuens
  • 788
  • 6
  • 16
4
votes
2 answers

How to make minimongo.js works in browser?

The github presentation of minimongo states it as Client-side mongo database with server sync over http There is a also a minimongo-standalone providing a minimongo.min.js which states : You could also just download the minimongo.min.js, place it…
Hugo LOPEZ
  • 605
  • 8
  • 21
4
votes
1 answer

Modify data in Meteor.publish before sending down to client

I have the following use case: I have a users table in MongoDB on the backend, which is a separate service than the frontend. I use DDP.connect() to connect to this backend service. Each user has a set of "subjects" Each subject in the users table…
user2205763
  • 1,499
  • 2
  • 14
  • 30
4
votes
3 answers

Dynamic Frequency Map from MongoDB Keys

I'm using MiniMongo through Meteor, and I'm trying to create a frequency table based off of a dynamic set of queries. I have two main fields, localHour and localDay. I expect many overlaps, and I'd like to determine where the most overlaps occur. My…
mjkaufer
  • 4,047
  • 5
  • 27
  • 55
3
votes
1 answer

What is reason of minimongo in meteor

What is actual reason and how should be minimongo used in meteor? For security, client shouldn't have access to queries. So they should be kept only on server. Therefore on client should not be queried anything anyway. Even if code for queries…
Márius Rak
  • 1,356
  • 2
  • 15
  • 35
1
2 3
10 11