GitXplorerGitXplorer
B

csql

public
6 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0a2b07b57afc32e09d994bde68e3426d6e515c81

Be more consistent with panic'ing errors.

BBurntSushi committed 11 years ago
Unverified
7fba9eda0a57ad6819381cb8aca1ffbe6b5e4e02

Just use a prepared statement for inserting.

BBurntSushi committed 11 years ago
Unverified
297755ff10626b4dc868f294b06d5441ac4fa51a

Change the semantics of Safe. Replace old Safe with SafeFunc.

BBurntSushi committed 11 years ago
Unverified
aad417016313abc6cc656911422817d38c9867be

gofmt

BBurntSushi committed 11 years ago
Unverified
ab641eb3c925aea791344852bb0841f602c5b038

Rename SQLPanic to Panic.

BBurntSushi committed 11 years ago
Unverified
086e2b36ed03b1aad7c1454f4ba5f71c3fd16dd8

A convenience function for getting count from COUNT queries.

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.