create Postgres KSLDatabase Observer
fun createPostgresKSLDatabaseObserver(model: Model, dbName: String, dbServerName: String = "localhost", user: String = "postgres", pWord: String = ""): KSLDatabaseObserver(source)
Creates a Postgres KSL based database and returns a KSLDatabaseObserver configured to observe the supplied model. The database will have a schema called "ksl_db" created if it does not exist. If it already exists, it will be dropped and recreated. All current data will be deleted.
Parameters
model
the model to observe
db Name
the name of the database that the user is logging into. Defaults to "postgres" This is typically the user's name because users are given a database
db Server Name
the name of the postgres server, defaults to "localhost"
user
the username, defaults to "postgres"
p Word
the password as a string, defaults to ""