Implement Suggestions
This commit is contained in:
parent
1cf66b5934
commit
84f88628f5
|
@ -91,7 +91,7 @@ abstract class Adapter
|
||||||
/**
|
/**
|
||||||
* Delete Unique Key.
|
* Delete Unique Key.
|
||||||
*
|
*
|
||||||
* @param String $key
|
* @param string $key
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
@ -100,7 +100,7 @@ abstract class Adapter
|
||||||
/**
|
/**
|
||||||
* Add Unique Key.
|
* Add Unique Key.
|
||||||
*
|
*
|
||||||
* @param String $key
|
* @param string $key
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -360,7 +360,7 @@ class MySQL extends Adapter
|
||||||
/**
|
/**
|
||||||
* Delete Unique Key.
|
* Delete Unique Key.
|
||||||
*
|
*
|
||||||
* @param String $key
|
* @param string $key
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*
|
*
|
||||||
|
@ -380,13 +380,12 @@ class MySQL extends Adapter
|
||||||
/**
|
/**
|
||||||
* Add Unique Key.
|
* Add Unique Key.
|
||||||
*
|
*
|
||||||
* @param String $key
|
* @param string $key
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public function addUniqueKey($key)
|
public function addUniqueKey($key)
|
||||||
{
|
{
|
||||||
$st = $this->getPDO()->prepare('INSERT INTO `'.$this->getNamespace().'.database.unique`
|
$st = $this->getPDO()->prepare('INSERT INTO `'.$this->getNamespace().'.database.unique`
|
||||||
|
|
Loading…
Reference in a new issue