I am using Scala driver for MongoDB to make a connection and insert a document in the class. I am following their official documentation as mentioned ...
I am using Scala driver for MongoDB to make a connection and insert a document in the class. I am following their official documentation as mentioned ...
I am using official mongo scala driver: http://mongodb.github.io/mongo-scala-driver/. I want to do query like: so in scala code I am doing: but ...
In Scala I have composed two MongoDB observables and made a call to observeOn while passing a custom execution context. The call to observeOn is made ...
I am trying to create a document with the counterpart to a Javascript Object Map[String, Any]. When I try to insert a new Document I'll get this Excep ...
I'am trying to print results from a MongoDB query in Scala The error thrown was : Cannot resolve symbol printResults. Answers to some other questio ...
I'm using the new MongoDB Scala Driver. When I store a java.util.Date, it is being stored in MongoDB as an Int64 instead of a MongoDB Date. I have som ...
I'm converting code from Casbah to mongodb-scala-driver, and when it comes to capturing the result of a query, the best I've come up with so far is: ...
I am fairly new to working with MongoDB. I need to retrieve the previous record of a given record in a MongoDB collection. Is it possible to do ...
I am having a hard time trying to create my BSON reader/writer on play 2.1.5 with mongodb. Here is a code excerpt in app/model/Boat.scala : Then i ...
I need to make a web service that can will contain lists of objects. One list can contain objects of many types. Here, for example, I have a library o ...
I have the following code to write a gridfs file: The code works fine but it duplicates the files in the collection when I write two files with the ...
I have a collection in MongoDB which makes an increase, the field was initially defined as an Integer, but I find that after the increase was converte ...
what's the best MongoDB driver for Play Framework 2.1? I am trying ReactiveMongo at this moment but I cannot find good documentation in anywhere and ...
This is run in mongo How can i run in the same in scala using casbah Thanks ...
I have two MongoDB collections promo collection: claimed collection: Whenever someone claimed a promo, a new document will be created inside "c ...
I've got some code that examines every object in a Mongo collection (iterating over the result of a find() with no parameters), and makes changes to s ...
I have three objects I plan to store only the Profile object in Mongo DB, but in the Scala App they should be represented by their types. I am us ...
Using Scala, MongoDB, Casbah. Given a random list of strings: Given a MongoDB document structure: How do I find all documents that have a nam ...
I have a user which contains a reference field "o" which points to an organisation: Organisations contain a field "n": I want a list of users so ...
I'm trying to convert a persistence layer from a plain old database (using ScalaQuery) to MongoDB, and I'm running into an odd issue. I use the Casbah ...