Instance Constructors
-
new
DBAction(database: Database, minConnections: Int = 5, maxConnections: Int = 5, partitionCount: Int = 2, maxQueriesPerRequest: Int = 20)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
-
def
applyForDB[A](db: Database)(requestHandler: (DBSessionRequest[A]) ⇒ Result)(bodyParser: BodyParser[A])(f: ((Session) ⇒ Result) ⇒ Result)(errorPage: ⇒ Result)(implicit executionContext: ExecutionContext = ...): Action[A]
-
final
def
asInstanceOf[T0]: T0
-
val
attributes: Map[String, DBAttributes]
-
lazy val
available: Map[String, () ⇒ Boolean]
-
def
clone(): AnyRef
-
def
db(name: String, maybeApp: Option[Application]): Database
-
val
defaultName: String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isDBAvailable(name: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
DB Action, decoupled from Application
Useful for tests, see TestableDBActionTest.scala