module DB::ConnectionContext

Direct including types

Defined in:

Instance Method Summary

Instance Method Detail

abstract def discard(connection : Connection) #

Indicates that the connection was permanently closed and should not be used in the future.


abstract def prepared_statements? : Bool #

Return whether the statements should be prepared by default


abstract def release(connection : Connection) #

Indicates that the connection is no longer needed and can be reused in the future.


abstract def uri : URI #

Returns the uri with the connection settings to the database