| @@ 34-43 (lines=10) @@ | ||
| 31 | /** |
|
| 32 | * {@inheritdoc} |
|
| 33 | */ |
|
| 34 | public function getParameters(QueryCompiler $compiler = null) |
|
| 35 | { |
|
| 36 | if (empty($compiler)) { |
|
| 37 | $compiler = $this->compiler; |
|
| 38 | } |
|
| 39 | ||
| 40 | return $this->flattenParameters($compiler->orderParameters( |
|
| 41 | QueryCompiler::DELETE_QUERY, $this->whereParameters |
|
| 42 | )); |
|
| 43 | } |
|
| 44 | ||
| 45 | /** |
|
| 46 | * {@inheritdoc} |
|
| @@ 120-135 (lines=16) @@ | ||
| 117 | /** |
|
| 118 | * {@inheritdoc} |
|
| 119 | */ |
|
| 120 | public function getParameters(QueryCompiler $compiler = null) |
|
| 121 | { |
|
| 122 | if (empty($compiler)) { |
|
| 123 | //Using associated compiler |
|
| 124 | $compiler = $this->compiler; |
|
| 125 | } |
|
| 126 | ||
| 127 | return $this->flattenParameters( |
|
| 128 | $compiler->orderParameters( |
|
| 129 | QueryCompiler::SELECT_QUERY, |
|
| 130 | $this->whereParameters, |
|
| 131 | $this->onParameters, |
|
| 132 | $this->havingParameters |
|
| 133 | ) |
|
| 134 | ); |
|
| 135 | } |
|
| 136 | ||
| 137 | /** |
|
| 138 | * Mark query to return only distinct results. |
|