gophersql

command module
Version: v0.0.0-...-218c16c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2014 License: MIT Imports: 3 Imported by: 0

README

gophersql

Database/SQL talk for Denver Gophers. Drivers and code examples are on the package page.

Examples

Import syntax, the empty _ import

Building the connection string

Knowing the parameterization scheme

Exec versus Query

Scanning into pointers

Closing rows

The scanner interface

Cross-platform issues

Talk struct with the database!

Issues

Zero-initialization

Default INSERT values and dealing with NULL values with pointers or Null types.

Closing rows and duplicate connections with :memory:

The case of the disappearing table.

Scanning into an interface

Strings are scanned as []byte, resulting in unexpected json output.

No interface for connections and transactions

Build one to test instances requiring a connection

Packages

A list of popular projects

And my own: Aspect - cross-dialect query construction, schema declarations, and talking a variety of types with the database (including structs and slices)

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL