owned property

bool owned
final

Whether close should close session.

True only for a database that opened its own connection. A transaction fork always passes owned: false — the outer database still owns the connection, and closing the fork would close the lease under the callback still running on it.

Implementation

final bool owned;