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/Prototypes/AbstractSelect.php 1 location
|
@@ 104-116 (lines=13) @@
|
| 101 |
|
/** |
| 102 |
|
* {@inheritdoc} |
| 103 |
|
*/ |
| 104 |
|
public function getParameters(QueryCompiler $compiler = null): array |
| 105 |
|
{ |
| 106 |
|
$compiler = $compiler ?? $this->compiler; |
| 107 |
|
|
| 108 |
|
return $this->flattenParameters( |
| 109 |
|
$compiler->orderParameters( |
| 110 |
|
self::QUERY_TYPE, |
| 111 |
|
$this->whereParameters, |
| 112 |
|
$this->onParameters, |
| 113 |
|
$this->havingParameters |
| 114 |
|
) |
| 115 |
|
); |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
/** |
| 119 |
|
* Mark query to return only distinct results. |
source/Spiral/Database/Builders/InsertQuery.php 1 location
|
@@ 147-154 (lines=8) @@
|
| 144 |
|
/** |
| 145 |
|
* {@inheritdoc} |
| 146 |
|
*/ |
| 147 |
|
public function getParameters(QueryCompiler $compiler = null): array |
| 148 |
|
{ |
| 149 |
|
$compiler = $compiler ?? $this->compiler; |
| 150 |
|
|
| 151 |
|
return $this->flattenParameters( |
| 152 |
|
$compiler->orderParameters(self::QUERY_TYPE, [], [], [], $this->rowsets) |
| 153 |
|
); |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
/** |
| 157 |
|
* {@inheritdoc} |