commit | 7f3ca5ababca43247a842be06d62bbd81c8d08d1 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Sat Feb 25 01:49:11 2023 +0000 |
committer | Francis Chuang <2263040+F21@users.noreply.github.com> | Sat Feb 25 19:14:38 2023 +1100 |
tree | 2d4f63d72f60f56d93db9de8869407e1bdb8b9c9 | |
parent | 9db01665008890a9409043155a173eaeb95d169f [diff] |
Bump golang.org/x/net from 0.0.0-20220725212005-46097bf591d3 to 0.7.0 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220725212005-46097bf591d3 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](https://github.com/golang/net/commits/v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
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 Go modules:
$ go get 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/v5" 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.
We do not use Github to file issues. Please create an issue on Calcite's JIRA and select avatica-go
as the component. For further information, please see the JIRA accounts guide.