database: Update overview documentation in doc.go.

This updates the overview documentation to remove reference of the
outside Namespace bits.
This commit is contained in:
Dave Collins 2017-05-21 18:21:38 -05:00
parent 45967f8641
commit f8673776ab
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -34,13 +34,10 @@ obtained via the Create and Open functions which take a database type string
that identifies the specific database driver (backend) to use as well as
arguments specific to the specified driver.
Namespaces
The Namespace interface is an abstraction that provides facilities for obtaining
transactions (the Tx interface) that are the basis of all database reads and
writes. Unlike some database interfaces that support reading and writing
without transactions, this interface requires transactions even when only
reading or writing a single key.
The interface provides facilities for obtaining transactions (the Tx interface)
that are the basis of all database reads and writes. Unlike some database
interfaces that support reading and writing without transactions, this interface
requires transactions even when only reading or writing a single key.
The Begin function provides an unmanaged transaction while the View and Update
functions provide a managed transaction. These are described in more detail