Documentation ¶
Overview ¶
Example ¶
package main import ( "database/sql" _ "github.com/apache/arrow-adbc/go/adbc/sqldriver/flightsql" ) func main() { // Be sure to import the driver first: // import _ "github.com/apache/arrow-adbc/go/adbc/sqldriver/flightsql" db, err := sql.Open("flightsql", "uri=grpc://localhost:12345") if err != nil { panic(err) } if err = db.Ping(); err != nil { panic(err) } }
Output:
Click to show internal directories.
Click to hide internal directories.