mongodb
Two "id" fields in one MongoDB collection with Rails 3?
I\'ve got a Rails 3.0.9 project using the latest version of MongoDB and Mongoid 2.2. I imported a CSV with an \"id\" field into a MongoDB collection named College, resulting in a collection like so:[详细]
2023-04-12 03:50 分类:问答MONGODB mongoose update embedded document in node.js
I have an embedded image document in my main document and I am able to update it as follows. Everytime it updates, it just overrides the existing image and does not add it to the existing images.. I t[详细]
2023-04-12 02:13 分类:问答MongoDB - anonymizing 600k records
I am trying to anonymize a large data set of about 600k records (removing sensitive information like email, etc.) so that it can be used for some perfo开发者_如何学Crmance tests.[详细]
2023-04-12 02:12 分类:问答in a document of MongoDB, i have a key/value such that value is an association array (inserted using php); how can iterate
in a docum开发者_如何学Goent of MongoDB, i have a key/value such that value is an association array (inserted using php); how can iterate throuth this array[详细]
2023-04-12 02:08 分类:问答Mongodb: Querying array elements within a document
I have a collection I\'d like to query as follows: return all documents up to 2 comments (e.g. a slice, either 0, 1, or 2 comments)[详细]
2023-04-12 02:03 分类:问答Multiple search in mongodb with morphia
I\'ve two classes: User and Project. The project class have ONE user (the owner of project). In search method, it returns a list of user after a method, and with this list of users,[详细]
2023-04-12 00:53 分类:问答How to keep only a defined subset of a collection
I would like to keep only a defined subset of a collection. I don\'t find any relevant information about it. It\'s hard to explain, so I put an exemple:[详细]
2023-04-12 00:14 分类:问答What do I need for a Webpage if I would use Scala + MongoDB
I have to make a small project and I have to use a nosql db and a language which runs on the JVM. So i thought: Scala and MongoDB[详细]
2023-04-11 23:49 分类:问答Mongodb32-bit limitation is for single database?
I am using mongodb-v2.0. I have gone through the 32-bit mongodb limitation of \"2GB\". The thing which baffling me is 2GB limitation. I will explain our scenario :-[详细]
2023-04-11 23:44 分类:问答Why using sharding with MongoDB?
We started to use MongoDB at work. So far so good however I was asked to assess if MongoDB could do Replica Set and Sharding at the same time. After searching for a while I find out that yes it can bu[详细]
2023-04-11 23:28 分类:问答