mongodb
mongo schema (embedding vs reference) [duplicate]
This question already has answers here: MongoDB relationships: embed or reference? (10 answers) Closed 8 years ago.[详细]
2023-04-12 09:20 分类:问答What's wrong with Geospatial queries using Polygons and Mongoose?
I\'m doing a geospatial query using a $polygon search. My query is: { \'location_latLong\': { \'$within\': {[详细]
2023-04-12 08:43 分类:问答Suggestion for write frequently, read rarely database
I hav开发者_如何学Pythone an application server which writes frequently to a database and reads it in the near future, but then very rarely that data entry is read.[详细]
2023-04-12 07:51 分类:问答PHP MongoDB update multiple fields with one query
I\'ve tried running this query: $collection->update( array(\'_id\' => \'mongoIDhere\'), array( \'$set\' => array(\"parent\" => \'data\'),[详细]
2023-04-12 07:48 分类:问答Error message when using geospatial indexing via Mongoose
My Schema is as follows: mongoose = require \'mongoose\' ObjectId= mongoose.Schema.ObjectId CheckinSchema = new mongoose.Schema[详细]
2023-04-12 07:46 分类:问答How do I return only fields that are needed in Mongoid?
How do 开发者_StackOverflow中文版I perform a query that doesn\'t return the entire document, but only fields that I have specified?From the horse\'s mouth:[详细]
2023-04-12 07:43 分类:问答Why does limit still return the entire document set in Mongoid?
This seems to be causing my queries to be slow, and I\'m 开发者_运维百科confused as to why it is returning all entries of the document.[详细]
2023-04-12 07:41 分类:问答SQL vs NOSQL: Which to use for this schema?
I\'ve got an upcoming project and I can\'t decide whether to stick with SQL or switch over to NoSQL. It\'s basically a reporting system with the main interface being reporting on the data entered in b[详细]
2023-04-12 07:32 分类:问答How can I get last 50 documents in mongoDB? [duplicate]
This question already has answers here: How to get the last N records in mongodb? (16 answers) Closed 4 years ago.[详细]
2023-04-12 07:29 分类:问答Rails3/Mongoid - Basic db:seed with embedded documents
I\'m using MongoID with rails 3.1. and I would like to seed my database (both in dev and production). I have a Pages model with Feeds embedded. What\'s the best way for me to seed the embedded feeds f[详细]
2023-04-12 07:26 分类:问答