MySqlConnection
 class Winter\Storm\Database\Connections\MySqlConnection
extends Winter\Storm\Database\Connections\ConnectionExtends
| Class | Description | 
|---|---|
| Connection | 
Methods
public bindValues (PDOStatement $statement, array $bindings) : void
Bind values to their parameters in the given statement.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $statement | PDOStatement | PDOStatement | 
| $bindings | array | array | 
Returns
            void
                public getSchemaBuilder () : Illuminate\Database\Schema\MySqlBuilder
Get a schema builder instance for the connection.
Returns
            Illuminate\Database\Schema\MySqlBuilder
                protected getDefaultPostProcessor () : Illuminate\Database\Query\Processors\MySqlProcessor
Get the default post processor instance.
Returns
            Illuminate\Database\Query\Processors\MySqlProcessor
                protected getDefaultQueryGrammar () : Illuminate\Database\Grammar
Get the default query grammar instance.
Returns
            Illuminate\Database\Grammar
                protected getDefaultSchemaGrammar () : Illuminate\Database\Grammar
Get the default schema grammar instance.
Returns
            Illuminate\Database\Grammar
                protected getDoctrineDriver () : Illuminate\Database\PDO\MySqlDriver
Get the Doctrine DBAL driver.
Returns
            Illuminate\Database\PDO\MySqlDriver
                inherited public static flushDuplicateCache () : void
                Inherited from
                
                    Connection
                
            
        
        Flush the memory cache.
Returns
            void
                
            
                            
                    inherited
                
            
            
                public
            
                        
            logQuery (string $query, array $bindings, float | null $time = null)
                            : void
                    
                    
                Inherited from
                
                    Connection
                
            
        
        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
                inherited public query () : Winter\Storm\Database\QueryBuilder
                Inherited from
                
                    Connection
                
            
        
        
                        
        
        inherited protected fireConnectionEvent (string $event) : array | null
                Inherited from
                
                    Connection
                
            
        
        Fire an event for this connection.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $event | string | string | 
Returns
            array | null
                
            
                            
                    inherited
                
            
            
                protected
            
                        
            fireEvent (string $event, array $attributes = [])
                            : void
                    
                    
                Inherited from
                
                    Connection
                
            
        
        Fire the given event if possible.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $event | string | string | 
| $attributes | array | array | 
Returns
            void
                
            
            ← Previous page
            Winter\Storm\Database\Connections\Connection
        
                
            Next page →
            Winter\Storm\Database\Connections\PostgresConnection
        
    
    Copyright © 2025 Winter CMS