Files
postgres-json/docs/usage/init-connection.md
2021-07-11 19:07:29 +02:00

281 B

Init connection

Before execute any query you must instantiate the connection.

import fr.postgresjson.connexion.Connection

val connection = Connection(
    host = "localhost",
    port = 5432,
    database = "mydb",
    username = "john",
    password = "azerty"
)