Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.356 kb
import com.twitter.querulous.config.Connection
new Connection {
val hostnames = Seq("localhost")
val database = "db_test"
val username = {
val userEnv = System.getenv("DB_USERNAME")
if (userEnv == null) "root" else userEnv
}
val password = {
val passEnv = System.getenv("DB_PASSWORD")
if (passEnv == null) "" else passEnv
}
}
Jump to Line
Something went wrong with that request. Please try again.