{"repo":"exasol/exasol-driver-go","free":true,"listed":false,"github":"https://github.com/exasol/exasol-driver-go","clone":"git clone https://github.com/exasol/exasol-driver-go.git","description":"Exasol SQL driver for Golang","language":"Go","stars":11,"topics":["exasol","golang","sql","go","database","exasol-integration","driver"],"license":"MIT","category":"databases-storage","readme_excerpt":"Exasol Go SQL Driver This repository contains a Go library for connection to the Exasol database. This library uses the standard Golang SQL driver interface for easy use. Prerequisites To use the Exasol Go Driver you need an Exasol database in the latest 7.1 or 8 version. Older versions might work but are not supported. Usage Create Connection With Exasol Config We recommend using the provided builder to build a connection string. The builder ensures all values are escaped properly. If you want to login via OpenID tokens use exasol.NewConfigWithRefreshToken(\"token\") or exasol.NewConfigWithAccessToken(\"token\") . See the documentation about how to configure OpenID authentication in Exasol. OpenID authentication is only supported with Exasol 7.1.x and later. With Exasol DSN You can also create a connection replacing the builder with a simple string: If a value in the connection string contains a ; you need to escape it with \\; . This ensures that the driver can parse the connection string as expected. Execute Statement Query Statement Use Prepared Statements Transaction Commit and Rollback To control the transaction state manually, you need to disable autocommit (enabled by default): After that you can begin a transaction: To commit a transaction use Commit() : To rollback a transaction use Rollback() : Import Local CSV Files Use the sql driver to load data from one or more CSV files into your Exasol Database. These files must be local to the machine where you execute the IMPORT","default_branch":null,"files":null,"tree":[],"storefront":"/r/exasol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/exasol/exasol-driver-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}