gaplo917 / telegram-message-board-bot

Forked seed project from https://github.com/gaplo917/play-scala-casbah-json4s-seed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Play Scala with casbah (MongoDB drive)

This is a seed project for whom is seeking a as close as native Mongo query syntax to access Mongo (Thanks for casbah) and auto map the document to scala defined classes.

  • Using casbah for accessing MongoDB

  • Using json4s to de/serialize the MongoDBObject to scala case class

  • Convenient abstract class BaseMongoCollection with very basic API to access the document

#Example

Find the details examples of usages in the ./test/collections folder

Run the TestCollectionSpec test case to see the result (Please make sure your mongo is ready in localhost:27017, OR you can modify the MongoDAO class for other settings)

About

Forked seed project from https://github.com/gaplo917/play-scala-casbah-json4s-seed

License:Other


Languages

Language:Scala 92.2%Language:HTML 7.3%Language:JavaScript 0.5%