/src/main/scala/couch/db/View.scala
http://scouchdb.googlecode.com/ · Scala · 19 lines · 13 code · 6 blank · 0 comment · 0 complexity · 59e66ffe51d9a76f68c10bfc67673f70 MD5 · raw file
- package couch.db
- import scala.reflect._
- import couch.json._
- @BeanInfo
- case class View(
- @JSONProperty {val ignoreIfNull = true}
- val map: String,
-
- @JSONProperty {val ignoreIfNull = true}
- val reduce: String) {
-
- private [db] def this() = this(null, null)
-
- override def toString =
- "map: " + map + " reduce: " + reduce
- }