is connection pooling supported?
twojcik opened this issue · 6 comments
Connection management is handled by the mongo-java-driver. See
http://www.mongodb.org/display/DOCS/Java+Tutorial
ok, so your driver is based on java driver?
Yes, it's just a scala friendly wrapper around the java driver.
Also, this project has recently moved. Please see the readme file. If you have anymore questions, please ask them on the Lift mailing list.
Hi, I have only one more question , is that driver support mongodb field selection? I'd like to migrate my project to scala/lift and like to know what are limitations.
The mongo-java-driver supports it but Scamongo currently doesn't. I will create a ticket to add functions for querying with fields, but you could use the MongoDB.use function to do it now.
The real issue here is that Scamongo uses classes to map to mongo documents, so you would have to have 2 separate classes; one for the full document, and one for the alternate view of that document, and you would have to override the find methods.
I will try to get an example written next week.
Hi, thank's for answer:) I'd like to help you but still lerning scala and lift