SQLConnectionOptions
Description
Create database connection options for a PostgreSQL native interface connection.
First, create an SQLConnectionOptions
object, set the connection
options, test the connection, and save the data source. Then, create a PostgreSQL native
interface connection using the saved data source. The connection options include the options
required to make a database connection. You can also define additional connection options for
a specific database driver.
Creation
Create an SQLConnectionOptions
object using the databaseConnectionOptions
function.
Properties
Object Functions
rmoptions | Remove PostgreSQL native interface connection options |
saveAsDataSource | Save PostgreSQL native interface data source |
setoptions | Set PostgreSQL native interface connection options |
reset | Reset PostgreSQL native interface connection options to defaults |
testConnection | Test PostgreSQL native interface database connection |
Examples
Version History
Introduced in R2020b