ODBC Driver for GraphQL

Build 23.0.8839


This section describes the dependencies for using Go with the CData ODBC Driver for GraphQL.

Configure unixODBC (Linux and Mac Only)

Go ODBC uses unixOODBC on Linux and Mac, so make sure the driver is configured as described in Using unixODBC before continuing.

Install Go ODBC

Go ODBC can be installed through go get. You must also have Git installed for go get to download Go ODBC.

$ go get github.com/alexbrainman/odbc

Using Go ODBC

To use Go ODBC, you must import both the SQL package from the standard library as well as Go ODBC itself.

import (
        _ "github.com/alexbrainman/odbc"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839