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 that identifies the specific database driver (backend) to use as well as
arguments specific to the specified driver. arguments specific to the specified driver.
Namespaces The interface provides facilities for obtaining transactions (the Tx interface)
that are the basis of all database reads and writes. Unlike some database
The Namespace interface is an abstraction that provides facilities for obtaining interfaces that support reading and writing without transactions, this interface
transactions (the Tx interface) that are the basis of all database reads and requires transactions even when only reading or writing a single key.
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 The Begin function provides an unmanaged transaction while the View and Update
functions provide a managed transaction. These are described in more detail functions provide a managed transaction. These are described in more detail