Splits SQL source into queries using simple regular expressions
Extracted from PDOSQLExecTask::runStatements()
author | Hans Lellelid |
---|---|
author | Alexey Borzov |
package | phing.tasks.ext.pdo |
version | $Id$ |
__construct(\PDOSQLExecTask $parent, \Reader $reader, string $delimiterType)
nextQuery() : string | null
In case of "row" delimiter type this searches for strings containing only delimiters. In case of "normal" delimiter type, this uses simple regular expression logic to search for delimiters.
string
null
$delimiterType : string
$sqlBacklog : string