source/Spiral/Database/Builders/DeleteQuery.php 1 location
|
@@ 41-48 (lines=8) @@
|
| 38 |
|
/** |
| 39 |
|
* {@inheritdoc} |
| 40 |
|
*/ |
| 41 |
|
public function getParameters(QueryCompiler $compiler = null): array |
| 42 |
|
{ |
| 43 |
|
$compiler = $compiler ?? $this->compiler; |
| 44 |
|
|
| 45 |
|
return $this->flattenParameters( |
| 46 |
|
$compiler->orderParameters(self::QUERY_TYPE, $this->whereParameters) |
| 47 |
|
); |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
/** |
| 51 |
|
* {@inheritdoc} |
source/Spiral/Database/Builders/InsertQuery.php 1 location
|
@@ 142-149 (lines=8) @@
|
| 139 |
|
/** |
| 140 |
|
* {@inheritdoc} |
| 141 |
|
*/ |
| 142 |
|
public function getParameters(QueryCompiler $compiler = null): array |
| 143 |
|
{ |
| 144 |
|
$compiler = $compiler ?? $this->compiler; |
| 145 |
|
|
| 146 |
|
return $this->flattenParameters( |
| 147 |
|
$compiler->orderParameters(self::QUERY_TYPE, [], [], [], $this->rowsets) |
| 148 |
|
); |
| 149 |
|
} |
| 150 |
|
|
| 151 |
|
/** |
| 152 |
|
* {@inheritdoc} |
source/Spiral/Database/Builders/Prototypes/AbstractSelect.php 1 location
|
@@ 127-139 (lines=13) @@
|
| 124 |
|
/** |
| 125 |
|
* {@inheritdoc} |
| 126 |
|
*/ |
| 127 |
|
public function getParameters(QueryCompiler $compiler = null): array |
| 128 |
|
{ |
| 129 |
|
$compiler = $compiler ?? $this->compiler; |
| 130 |
|
|
| 131 |
|
return $this->flattenParameters( |
| 132 |
|
$compiler->orderParameters( |
| 133 |
|
self::QUERY_TYPE, |
| 134 |
|
$this->whereParameters, |
| 135 |
|
$this->onParameters, |
| 136 |
|
$this->havingParameters |
| 137 |
|
) |
| 138 |
|
); |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
/** |
| 142 |
|
* Mark query to return only distinct results. |