Go ODBC Interface
License
BenoyRNair/godbc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Copyright (c) 2009 Benoy R Nair. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file GODBC Use "godbc" to connect to any database (that supports ODBC interface) using Go. Prerequisites Requires unixODBC (godbc makes use of libodbc) http://www.unixodbc.org/ Sample Program A sample go file (example.go) using godbc is provided along with. The program does the following: 1. Lists the data sources registered in the system 2. Lists the drivers installed 3. Connect to a data source 4. Detail errors returned from the database 5. Get database info/ properties 6. Fetch and print the tables in the database 7. Close database connections and free resources Todo 1. Extend the go library to cover the entire ODBC specification. 2. Check for multi threading support. 3. Prepare detailed documentation.
About
Go ODBC Interface
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published