DbalQueryExtractor implements Extractor
FinalYes
Interfaces
- Extractor
Methods
- __construct() : mixed
- extract() : Generator
- single() : self
- withParameters() : self
- withSchema() : self
- withTypes() : self
Methods
__construct()
public
__construct(Connection $connection, string $query) : mixed
Parameters
- $connection : Connection
- $query : string
extract()
public
extract(FlowContext $context) : Generator
Parameters
- $context : FlowContext
Return values
Generatorsingle()
public
static single(Connection $connection, string $query[, array<string, mixed>|array<int, mixed> $parameters = [] ][, array<int|string, ArrayParameterType|int|ParameterType|string|Type> $types = [] ]) : self
Parameters
- $connection : Connection
- $query : string
- $parameters : array<string, mixed>|array<int, mixed> = []
- $types : array<int|string, ArrayParameterType|int|ParameterType|string|Type> = []
Return values
selfwithParameters()
public
withParameters(ParametersSet $parametersSet) : self
Parameters
- $parametersSet : ParametersSet
Return values
selfwithSchema()
public
withSchema(Schema $schema) : self
Parameters
- $schema : Schema
Return values
selfwithTypes()
public
withTypes(array<int|string, ArrayParameterType|int|ParameterType|string|Type> $types) : self
Parameters
- $types : array<int|string, ArrayParameterType|int|ParameterType|string|Type>