createPostgresSQLKSLDatabase

fun createPostgresSQLKSLDatabase(dbName: String, dbServerName: String = "localhost", user: String = "postgres", pWord: String = ""): KSLDatabase(source)

Creates a new KSLDatabase. If the database contains a schema called "ksl_db" it is dropped via cascade.

Return

a reference to a KSLDatabase

Parameters

dbServerName

the name of the database server, must not be null

dbName

the name of the database, must not be null

user

the user

pWord

the password