TestDb
Extend this to create your own:
object TestDb extends japgolly.webapputil.db.test.TestDb {
override protected def cfg: DbConfig =
xxx
onlyAllowDropSchemaWhenDatabaseNameEndsWith("_test")
}
class Object
trait Matchable
class Any
Value members
Abstract methods
Concrete methods
Returns a connection that really commits transactions on completion and writes to the DB.
Returns a connection that really commits transactions on completion and writes to the DB.
Ensure that you call releaseRealXA() after use.
Use with care. Use as a last resort.
def checkOutput[A : Tag, B : Tag](q: Query[A, B])(implicit evidence$3: Tag[A], evidence$4: Tag[B], l: Line): Unit
Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.
Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.
def onlyAllowDropSchemaWhenDatabaseNameWhen(allow: String => Boolean, errMsg: String => String): Unit
Everything runs in a transaction and is automatically rolled back
Everything runs in a transaction and is automatically rolled back