DatabaseConnectionRef

@Serializable
data class DatabaseConnectionRef(val dbType: DbType, val location: String, val serverName: String? = null, val portNumber: Int? = null, val credentials: CredentialSource = CredentialSource.None)(source)

Credential-free locator for a database connection. Embedded databases (SQLite, Derby) put the file path in location and use CredentialSource.None. Server databases (Postgres) additionally set serverName / portNumber and a non-None credential source; that path lands in the server-database phase.

Constructors

Link copied to clipboard
constructor(dbType: DbType, location: String, serverName: String? = null, portNumber: Int? = null, credentials: CredentialSource = CredentialSource.None)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard