Commit 7cc8e0e1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6918b40d
...@@ -33,10 +33,10 @@ import ( ...@@ -33,10 +33,10 @@ import (
) )
// DB represents a handle to database at application level and contains pool // DB represents a handle to database at application level and contains pool
// of connections. If application opens connection via DB.Open, the connection // of connections. DB.Open opens database connection. The connection will be
// will be automatically put back into DB pool for future reuse after // automatically put back into DB pool for future reuse after corresponding
// corresponding transaction is complete. DB thus provides service to maintain // transaction is complete. DB thus provides service to maintain live objects
// live objects cache and reuse live objects from transaction to transaction. // cache and reuse live objects from transaction to transaction.
// //
// Note that it is possible to have several DB handles to the same database. // Note that it is possible to have several DB handles to the same database.
// This might be useful if application accesses distinctly different sets of // This might be useful if application accesses distinctly different sets of
......
...@@ -115,10 +115,10 @@ ...@@ -115,10 +115,10 @@
// Connection is also sometimes called a "jar" in ZODB terminology. // Connection is also sometimes called a "jar" in ZODB terminology.
// //
// DB represents a handle to database at application level and contains pool // DB represents a handle to database at application level and contains pool
// of connections. If application opens connection via DB.Open, the connection // of connections. DB.Open opens database connection. The connection will be
// will be automatically put back into DB pool for future reuse after // automatically put back into DB pool for future reuse after corresponding
// corresponding transaction is complete. DB thus provides service to maintain // transaction is complete. DB thus provides service to maintain live objects
// live objects cache and reuse live objects from transaction to transaction. // cache and reuse live objects from transaction to transaction.
// //
// Note that it is possible to have several DB handles to the same database. // Note that it is possible to have several DB handles to the same database.
// This might be useful if application accesses distinctly different sets of // This might be useful if application accesses distinctly different sets of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment