sql.Open
The following table describes sql.Open.
Method | Description | Return Value |
Open(driverName, dataSourceName string) | Opens a database based on a specified database driver and the dedicated data source of the driver. | *DB and error |
For details about driverName and dataSourceName, see Connecting to a Database.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.

