DbalLoader implements Loader
FinalYes
Interfaces
- Loader
 
Methods
- __construct() : mixed
 - fromConnection() : self
 - Since Connection::getParams() is marked as an internal method, please use this constructor with caution.
 - load() : void
 - withColumnTypes() : self
 - Override types taken from Flow Schema with explicitly provided DBAL types.
 - withOperation() : self
 - withOperationOptions() : self
 - withTypesDetector() : self
 - Set custom SchemaToTypesConverter with custom TypesMap.
 
Methods
__construct()
    public
                    __construct(string $tableName, array<string, mixed> $connectionParams) : mixed
    Parameters
- $tableName : string
 - $connectionParams : array<string, mixed>
 
fromConnection()
Since Connection::getParams() is marked as an internal method, please use this constructor with caution.
    public
            static        fromConnection(Connection $connection, string $tableName[, InsertOptions|UpdateOptions|null $operationOptions = null ][, string $operation = 'insert' ]) : self
    Parameters
- $connection : Connection
 - $tableName : string
 - $operationOptions : InsertOptions|UpdateOptions|null = null
 - $operation : string = 'insert'
 
Tags
Return values
selfload()
    public
                    load(Rows $rows, FlowContext $context) : void
    Parameters
- $rows : Rows
 - $context : FlowContext
 
withColumnTypes()
Override types taken from Flow Schema with explicitly provided DBAL types.
    public
                    withColumnTypes(array<string, Type> $types) : self
    Parameters
- $types : array<string, Type>
 - 
                    
Column name => DBAL Type instance
 
Return values
selfwithOperation()
    public
                    withOperation(string $operation) : self
    Parameters
- $operation : string
 
Tags
Return values
selfwithOperationOptions()
    public
                    withOperationOptions(InsertOptions|UpdateOptions|null $operationOptions) : self
    Parameters
- $operationOptions : InsertOptions|UpdateOptions|null
 
Return values
selfwithTypesDetector()
Set custom SchemaToTypesConverter with custom TypesMap.
    public
                    withTypesDetector(DbalTypesDetector $detector) : self
    Parameters
- $detector : DbalTypesDetector