module DB::ConnectionContext
Direct including types
Defined in:
db/connection_context.crInstance Method Summary
- 
        #discard(connection : Connection)
        
          
Indicates that the connection was permanently closed and should not be used in the future.
 - 
        #prepared_statements? : Bool
        
          
Return whether the statements should be prepared by default
 - 
        #release(connection : Connection)
        
          
Indicates that the connection is no longer needed and can be reused in the future.
 - 
        #uri : URI
        
          
Returns the uri with the connection settings to the database
 
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.