1. Polishing a mongodb query stackoverflow.comThis is my current query: Using Java+mongoDB
|
2. Query embedded object with AND in mongodb stackoverflow.comLet's say there is:
|
3. MongoDB and Java driver: "ignore case" in query stackoverflow.comThis is the code I'm using now, how do I add the "ignore case" attribute?
Thanks
|
4. Querying Array Positions in MongoDB? stackoverflow.comI am using Java Driver for mongoDB. I have a document which contains, |
5. MongoDB Equivalent to SQL query with Java Driver? stackoverflow.comI need to know how to use
I have a key Name and its value, and i want to ... |
6. Querying Morphia by Id stackoverflow.comI am using Morphia, the Pojo mapper for MongoDB, and I find difficult a task that in my view should be very simple: getting an object by id. I am able ... |
7. Executing Mongo like Query (JSON)through Java stackoverflow.comI was wondering if there is a way to execute mongo like query directly through Java i.e. we give mongoDB like query as a String to a function in Java driver ... |
8. Is there a cleaner way to do this Group Query in MongoDB from Groovy? stackoverflow.comI'm working on learning MongoDB. Language of choice for the current run at it is Groovy. Working on Group Queries by trying to answer the question of which pet is the most ... |
9. How to query mongodb with “like� using the java api? stackoverflow.comthis question is very similar to another post I basically want to use the mongodb version of the sql "like" '%m%' operator but in my situation i'm using the java api for ... |
10. how to query mongodb using the $ne operator? stackoverflow.comi'm trying to do a $ne query in mongodb while using a regex, but it doesn't seem to work. the $ne (not equal) operator works fine when i don't use a ... |
11. how to do a regex query on mongodb ObjectId field stackoverflow.comthis is a bit tricky.. how do you do a regex query on the ObjectId field? i'm using the java api, so this is what i have so far
|
12. How can I sort MongoDB query results by inner array size? stackoverflow.comI'm using Morphia to access mongoDB. I need to get a list of objects by the length of the inner array. Does any one have an idea how it can be done ... |
13. How to do $or and "and" in mongo query for java driver? stackoverflow.comI want to do both |
14. Not able to retrieve result from MongoDB stackoverflow.com
now i ... |
15. What is Morphia or Java driver query in one to many relation? stackoverflow.comSuppose i have user collection and children collection. Assume I have a specific user and children (which is the many side of user) has a field status of type string. I want ... |
16. MongoDB & Java Driver: Range Query stackoverflow.comI have a database of documents that all contain a numerical field |
17. How to log all the queries in a log file in a java application with mongodb? stackoverflow.comI have a java application which use morphia to work with mongodb. I want to log all the queries sent to mongodb in a file, which I can analyze them ... |
18. Java/MongoDB query by date stackoverflow.comI stored a value as a java.util.Date() in my collection, but when I query to get values between two specific dates, I end up getting values outside of the range. Here's ... |
19. How to convert such sql query to mongodb query stackoverflow.comI need to execute such sql query on mongo(I mean mongodb query should be logically equal to the sql). So here is the SQL query:
|
20. MapReduce in mongo with query from java stackoverflow.comI want to do a mapReduce in mongo with query. I make it succesfully in shell like this
So, I ... |
21. Update multiple rows in MongoDB java Driver stackoverflow.comI want to update multiple rows in My Collection called "Users". Right now I am updating both the rows seperately but I want to do the same in one query. My current ... |
22. Exists Query for multilple Document in Mongodb using java driver stackoverflow.comIf we want to check that the record is exists in Collection or not, then there is an operator $exists in Mongodb. But if we want to know multiple records exists ... |
23. How to update value of specific embedded document, inside an array, of a specific document in MongoDB? stackoverflow.comI have the following structure in my document:
|
24. How do I query MongoDB's ISODate field using Java querybuilder stackoverflow.comI would like to do a query based on a MongoDB ISODate field. However, I'm not sure how to serialize a Java Date object into the correct ISODate object, which can then be ... |
25. retrieve large number of records with mongoDB in a reasonable time stackoverflow.comI'm using mongoDB to store a querylog and get some stats about it. Objects that I store in mongoDB contains the text of the query, the date, the user, if the user clicked ... |