GitXplorerGitXplorer
B

csql

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
dccffaa67780ec29c8fba16b76d05068fe7edf20

Add Truncate function, since it varies between DBs.

BBurntSushi committed 11 years ago
Unverified
388c7b98488b45f59f1dcbd49988646cc367b2b8

Provide interface for Queryer + Execer.

BBurntSushi committed 11 years ago
Unverified
1ce6d8831ad6a482a5657c952b39a15de704ed33

Simplify the Inserter API.

BBurntSushi committed 11 years ago
Unverified
025253b7f3051628891b5b9d6e2492da7fafac3f

Add convenience function for traversing rows.

BBurntSushi committed 11 years ago
Unverified
a08ed66cd0afb20f4804c3a82aa460e70069c0fd

Rename to insert to match type name.

BBurntSushi committed 11 years ago
Unverified
8d575372005caa70e787c7e100eb85709f8bbdb3

More progress. Includes batch inserter.

BBurntSushi committed 11 years ago

README

The README file for this repository.

Package csql provides convenience functions for use with the types and functions defined in the standard library database/sql package.

Installation

If you have Go installed and your GOPATH is setup, then csql can be installed with go get:

go get github.com/BurntSushi/csql

Documentation

Documentation is available at godoc.org/github.com/BurntSushi/csql.

Unstable

At the moment, this project is a bit of an experiment. I'd like to try and use it in a few packages to see if it shortens the amount of boiler plate error handling and makes other menial tasks easier.

Expect breaking changes to be made while I experiment.