src/Oci8/Schema/Grammars/OracleGrammar.php 1 location
|
@@ 686-693 (lines=8) @@
|
683 |
|
* @param string $value |
684 |
|
* @return string |
685 |
|
*/ |
686 |
|
protected function wrapValue($value) |
687 |
|
{ |
688 |
|
if ($this->isReserved($value)) { |
689 |
|
return parent::wrapValue($value); |
690 |
|
} |
691 |
|
|
692 |
|
return $value !== '*' ? sprintf($this->wrapper, $value) : $value; |
693 |
|
} |
694 |
|
|
695 |
|
|
696 |
|
/** |
src/Oci8/Query/Grammars/OracleGrammar.php 1 location
|
@@ 408-415 (lines=8) @@
|
405 |
|
* @param string $value |
406 |
|
* @return string |
407 |
|
*/ |
408 |
|
protected function wrapValue($value) |
409 |
|
{ |
410 |
|
if ($this->isReserved($value)) |
411 |
|
{ |
412 |
|
return parent::wrapValue($value); |
413 |
|
} |
414 |
|
|
415 |
|
return $value !== '*' ? sprintf($this->wrapper, $value) : $value; |
416 |
|
} |
417 |
|
|
418 |
|
|