Update 'src/DDLWrapper/Db/Adapter/PdoAdapter.php'
This commit is contained in:
@@ -88,7 +88,21 @@ abstract class PdoAdapter implements AdapterInterface
|
|||||||
}
|
}
|
||||||
return $this->connection;
|
return $this->connection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the table prefix
|
||||||
|
*
|
||||||
|
* @return \PDO
|
||||||
|
*/
|
||||||
|
public function getTablePrefix()
|
||||||
|
{
|
||||||
|
if(isset($this->connection->prefix)){
|
||||||
|
return $this->connection->prefix;
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the command start time
|
* Sets the command start time
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user