commit | cb2d4cb4596d5850bd0eb10c9c7697b679aabc2d | [log] [tgz] |
---|---|---|
author | Julian Hyde <jhyde@apache.org> | Wed Apr 18 00:46:22 2018 -0700 |
committer | Julian Hyde <jhyde@apache.org> | Wed Apr 18 00:46:22 2018 -0700 |
tree | a6e3d194608947151f1c098aa71330552c58daa4 | |
parent | d2732965fc0f70dd68593e6823e959bbbe329075 [diff] |
Add 'apache-' prefix to dist files
Apache Calcite's Avatica Go is a Go database/sql driver for the Avatica server.
Avatica is a sub-project of Apache Calcite.
Install using your dependency management tool (we recommend dep!):
$ dep ensure -add github.com/apache/calcite-avatica-go
The Phoenix/Avatica driver implements Go's database/sql/driver
interface, so, import the database/sql
package and the driver:
import "database/sql" import _ "github.com/apache/calcite-avatica-go" db, err := sql.Open("avatica", "http://localhost:8765")
Then simply use the database connection to query some data, for example:
rows := db.Query("SELECT COUNT(*) FROM test")
For more details, see the home page.
Release notes for all published versions are available on the history page.