|
|
@@ -88,7 +88,21 @@ abstract class PdoAdapter implements AdapterInterface
|
|
|
}
|
|
|
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
|
|
|
*
|