src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseComparisonFunction.php 1 location
|
@@ 38-46 (lines=9) @@
|
| 35 |
|
} |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
public function getSql(SqlWalker $sqlWalker): string |
| 39 |
|
{ |
| 40 |
|
$dispatched = []; |
| 41 |
|
foreach ($this->nodes as $node) { |
| 42 |
|
$dispatched[] = $node->dispatch($sqlWalker); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
return sprintf($this->functionPrototype, implode(',', $dispatched)); |
| 46 |
|
} |
| 47 |
|
} |
| 48 |
|
|
src/MartinGeorgiev/Doctrine/ORM/Query/AST/Functions/BaseFunction.php 1 location
|
@@ 72-80 (lines=9) @@
|
| 69 |
|
} |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
public function getSql(SqlWalker $sqlWalker): string |
| 73 |
|
{ |
| 74 |
|
$dispatched = []; |
| 75 |
|
foreach ($this->nodes as $node) { |
| 76 |
|
$dispatched[] = $node->dispatch($sqlWalker); |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
return vsprintf($this->functionPrototype, $dispatched); |
| 80 |
|
} |
| 81 |
|
} |
| 82 |
|
|