commit | feb636fcbf37455d900dbd78cc20a9897dfe94ce | [log] [tgz] |
---|---|---|
author | Francis Chuang <francischuang@apache.org> | Sun Apr 22 20:00:09 2018 +1000 |
committer | Francis Chuang <francischuang@apache.org> | Sun Apr 22 20:00:09 2018 +1000 |
tree | 61b20bbcef115e73ab12addfa7f480d4b41c0bc0 | |
parent | 7f24c7a4f677d962b4db7d7f72f09eb8a8684bc8 [diff] |
Update releasing documentation
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.