execute

fun <T> execute(action: OctaviusSessionOperations.() -> T): T

Runs action with the session as its receiver and returns what it returns.

Throws

for a failure of the driver's, including a connection the data source would not hand over, which is an InitializationException. Anything else action throws leaves as it was thrown.