func (t *Tree) View(cb func (access TreeTransactionAccess) error) error {
	return t.db.View(func(tx TreeDatabaseTransaction) error {
		return cb(&TreeTransaction{tx, false})
	})
}
// View creates a view-only transaction for the tree.
View creates a view-only transaction for the tree.
// View creates a view - only transaction for the tree .
func (t *Tree) View(cb func (access TreeTransactionAccess) error) error {
	return t.db.View(func(tx TreeDatabaseTransaction) error {
		return cb(&TreeTransaction{tx, false})
	})
}
func ( t * Tree ) View ( cb func ( access TreeTransactionAccess ) error ) error { return t . db . View ( func ( tx TreeDatabaseTransaction ) error { return cb ( & TreeTransaction { tx , false } ) } ) }
View creates a view-only transaction for the tree.
View creates a view - only transaction for the tree .