Edit
↰
Home
↑
pq-gateway
↑
Query
↑
Writer
↻
Writer::reduce
↲
Writer::__construct
↲
Writer::__toString
↲
Writer::criteria
↲
Writer::getParams
↲
Writer::getTypes
↲
Writer::param
↲
Writer::reset
↲
Writer::write
#
protected
string
pq\Query\Writer::reduce
(
string
$q
,
mixed
$v
)
An array_reduce() helper for
pq\Query\Writer::write
().
Params:
#
string
$q
#
Query
string
.
mixed
$v
#
Query parts to append to
$q
, joined by commas if of type
array
.
Returns:
#
string
, the concatenated arguments.
Show Comments from Github Discussions