@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace ntentan\nibii; |
| 27 | 27 | |
| 28 | -use ntentan\utils\Utils; |
|
| 29 | 28 | use ntentan\kaikai\Cache; |
| 29 | +use ntentan\utils\Utils; |
|
| 30 | 30 | |
| 31 | 31 | class RecordWrapper implements \ArrayAccess, \Countable, \Iterator |
| 32 | 32 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace ntentan\nibii; |
| 4 | 4 | |
| 5 | -use ntentan\utils\Text; |
|
| 6 | 5 | use ntentan\atiaa\Db; |
| 6 | +use ntentan\utils\Text; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * A DriverAdaptr is a generic database adapter. |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | |
| 79 | 79 | public function insert($record) |
| 80 | 80 | { |
| 81 | - if($this->insertQuery === null) { |
|
| 81 | + if ($this->insertQuery === null) { |
|
| 82 | 82 | $this->initInsert(); |
| 83 | 83 | } |
| 84 | 84 | return Db::getDriver()->query($this->insertQuery, $record); |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | public function update($record) |
| 88 | 88 | { |
| 89 | - if($this->updateQuery === null) { |
|
| 89 | + if ($this->updateQuery === null) { |
|
| 90 | 90 | $this->initUpdate(); |
| 91 | 91 | } |
| 92 | 92 | return Db::getDriver()->query($this->updateQuery, $record); |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | |
| 27 | 27 | namespace ntentan\nibii; |
| 28 | 28 | |
| 29 | -use ntentan\utils\Text; |
|
| 30 | 29 | use ntentan\atiaa\Db; |
| 30 | +use ntentan\utils\Text; |
|
| 31 | 31 | |
| 32 | 32 | class QueryOperations |
| 33 | 33 | { |