module DB::ConnectionContext

Direct including types

Defined in:

db/connection_context.cr

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.


[View source]
abstract def prepared_statements? : Bool #

Return whether the statements should be prepared by default


[View source]
abstract def release(connection : Connection) #

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


[View source]
abstract def uri : URI #

Returns the uri with the connection settings to the database


[View source]