summaryrefslogtreecommitdiffstats
path: root/lib/private/DB/OracleConnection.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/DB/OracleConnection.php')
-rw-r--r--lib/private/DB/OracleConnection.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/private/DB/OracleConnection.php b/lib/private/DB/OracleConnection.php
index b53ee850149..9dd7620a546 100644
--- a/lib/private/DB/OracleConnection.php
+++ b/lib/private/DB/OracleConnection.php
@@ -47,24 +47,24 @@ class OracleConnection extends Connection {
/**
* {@inheritDoc}
*/
- public function insert($tableName, array $data, array $types = []) {
- if ($tableName[0] !== $this->getDatabasePlatform()->getIdentifierQuoteCharacter()) {
- $tableName = $this->quoteIdentifier($tableName);
+ public function insert($tableExpression, array $data, array $types = []) {
+ if ($tableExpression[0] !== $this->getDatabasePlatform()->getIdentifierQuoteCharacter()) {
+ $tableExpression = $this->quoteIdentifier($tableExpression);
}
$data = $this->quoteKeys($data);
- return parent::insert($tableName, $data, $types);
+ return parent::insert($tableExpression, $data, $types);
}
/**
* {@inheritDoc}
*/
- public function update($tableName, array $data, array $identifier, array $types = []) {
- if ($tableName[0] !== $this->getDatabasePlatform()->getIdentifierQuoteCharacter()) {
- $tableName = $this->quoteIdentifier($tableName);
+ public function update($tableExpression, array $data, array $identifier, array $types = []) {
+ if ($tableExpression[0] !== $this->getDatabasePlatform()->getIdentifierQuoteCharacter()) {
+ $tableExpression = $this->quoteIdentifier($tableExpression);
}
$data = $this->quoteKeys($data);
$identifier = $this->quoteKeys($identifier);
- return parent::update($tableName, $data, $identifier, $types);
+ return parent::update($tableExpression, $data, $identifier, $types);
}
/**