Hi,
I'm new to mongoDB and like it so far, I work local for my dev where I have mongo running as service on Win7. I have it allso running as a service on my VPS on Win server 2008. When I am on the server it works fine but I don't know hos to set it up so I can acces it from outside of the server? Can't find any good documentation on th...
Hello,
I'm playing around with mongodb (documentation isn't very complete):
tmpQuery = collection.find({"title_full": "kdsljfklsadfklj"})
print tmpQuery[0]['title_full']
That just echo's "no such item for Cursor instance", what is an if statement to determine if the variable tmpQuery has a valid result set and not empty?
...
Hello,
Anyone know the commands to drop a collection of documents and also drop a gridfs database?
...
Hi Folks,
As part of my work we get approx 25TB worth log files annually, currently it been saved over an NFS based filesystem. Some are archived as in zipped/tar.gz while others reside in pure text format.
I am looking for alternatives of using an NFS based system. I looked at MongoDB, CouchDB. The fact that they are document oriented...
What "NoSQL" database engines support dynamic / advanced queries in a similar fashion to MongoDB (http://www.mongodb.org/display/DOCS/Advanced+Queries) ?
Specifically interested in options that support ad-hoc querying from a shell or within client languages.
...
I'm trying to figure out the proper way to think about this problem for a document based data storage system. I've got the simple case of a two-tier category system, where there are Industries and Industry Groups (think Plumbing and Home Services).
My first thought was the document would be Industry Group and it would have Industries i...
The following php throws up this error...
Fatal error: Call to a member function
findOne() on a non-object in
J:\xampplite\htdocs\Produkshunator\home.back.php
on line 27
Here's the php...
<?php
/***********************************************
*
* Make Connection
*
********************************************************...
I've been playing around with Mongo for about a week now and I still can't work out how to modify nested arrays in Mongo with php.
So here is a sample document...
array (
'_id' => new MongoId("4cb30f560107ae9813000000"),
'email' => '[email protected]',
'firstname' => 'Maurice',
'lastname' => 'Campobasso',
'password' =...
I am using MongoDB with C# driver. I managed to add/delete/update data from collections, but I dont know how to display a collection in the gridview. If it's not possible, how can I display collections as tables in asp.net?
...
I'm writing a quick app for a user to track their daily bills (for money tracking purposes). I want the user to be able to define their own categories that a bill can be applicable for. I'm trying however to decide the best way to model this and also validate categories as unique.
My initial thought was this:
class User
include Mon...
Hello,
Am planning on building user administration module using Grails and the Spring Security Core plug-in for Grails.
Also, am considering using MongoDB for the database system.
Question(s):
(1) What trade offs and benefits will my app gain by choosing MongoDB over MySQL or HSQLDB?
(2) Is it super easy to way to implement (meaning...
I'm using Mongoid to work with MongoDB in Rails.
What I'm looking for is something like active record include. Currently I failed to find such method in mongoid orm.
Anybody know how to solve this problem in mongoid or perhaps in mongomapper, which is known as another good alternative.
...
I have a few large databases, greater than 100 million records. They consist of the following:
A unique key.
An integer value, not unique, but used for sorting the query.
A VARCHAR(200).
I have them in a mysql isam table now. My thought was, hey, I'll just set up a covering index on the data, and it should pull out reasonably fast....
I'm writing a quick little money tracking rails app for fun that allows a user to enter their daily bills. I have a user embeds_many :bills.
I'm using Devise for auth. Here's my question. When I fetch current_user each time from my session_id, it's going to pull in my whole user and its embedded docs correct? So as bills add up, my ...
I would like to know how I can reproduce the following query as map reduce or any juice function from MongoMapper or MongoID:
Event.find(:all,:select=>'events.company,SUM(price) as total_price',
:group=> 'company',:order => ' total_price DESC, created_at DESC')
...
Hi,
I would like to know if it is possible to connect MongoDB with Flash/Flex? If yes, kindly advise how could this be done?
Thank you.
...
Possible Duplicate:
What's the Attraction of Schemaless Database Systems?
What are the advantages of document oriented databases over relational databases?
Where should i use document oriented databases?
...
i have a datagridview bould on a list from Mongodb. however i cannot edit the grid. I dunno why its like that?
`var connstr = "Server=localhost:27017";
mongo = new Mongo(connstr);
mongo.Connect();
IMongoDatabase TorontoTrader = mongo["TorontoTrader"];
IMongoCollection TradingStrategyCollection = Toronto...
At the MongoDB developer zone you can learn all the MongoDB console javascript API to use for document CRUD operations.
I wonder, do all these javascript functions only work on the MongoDB console?
I learn all that just to use it for administrative tasks or can I use them in my javascript application (node) as well?
...
Possible Duplicate:
Difference between Document-based and Key/Value-based databases?
What are the pros and cons of document (mongodb/couchdb) and key-value (riak/redis) databases?
Aren't document databases more powerful than simple key-value databases?
Why would I use for example riak over couchdb that seems more powerful?
...