Commit a9ab8556 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: DB.Storage

Provide way for users to go from DB -> IStorage for which it was opened.
Wendelin.core 2 needs it.
parent 7e9e8a9d
......@@ -166,6 +166,10 @@ func (db *DB) Close() error {
return nil
}
// Storage returns storage this database handle was created for.
func (db *DB) Storage() IStorage {
return db.stor
}
// ConnOptions describes options to DB.Open .
type ConnOptions struct {
......
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