Connection
 class Winter\Storm\Database\Connections\Connection
extends Illuminate\Database\ConnectionExtends
| Class | Description | 
|---|---|
| Illuminate\Database\Connection | 
Methods
public static flushDuplicateCache () : void
Flush the memory cache.
Returns
            void
                
            
            
            
                public
            
                        
            logQuery (string $query, array $bindings, float | null $time = null)
                            : void
                    
        
        Log a query in the connection's query log.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $query | string | string | 
| $bindings | array | array | 
| $time | float | null | float | null | 
Returns
            void
                public query () : Winter\Storm\Database\QueryBuilder
protected fireConnectionEvent (string $event) : array | null
Fire an event for this connection.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $event | string | string | 
Returns
            array | null
                
            
            
            
                protected
            
                        
            fireEvent (string $event, array $attributes = [])
                            : void
                    
        
        Fire the given event if possible.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $event | string | string | 
| $attributes | array | array | 
Returns
            void
                Extended by
| Class | Description | 
|---|---|
| MySqlConnection | |
| PostgresConnection | |
| SQLiteConnection | |
| SqlServerConnection | 
            
            ← Previous page
            Winter\Storm\Database\Concerns\HidesAttributes
        
                
            Next page →
            Winter\Storm\Database\Connections\MySqlConnection
        
    
    Copyright © 2025 Winter CMS