File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -75,4 +75,19 @@ public function fetchColumn($columnNo = 0) {
75
75
public function closeCursor () {
76
76
return $ this ->statement ->closeCursor ();
77
77
}
78
+
79
+ /**
80
+ * @return int
81
+ */
82
+ public function columnCount () {
83
+ return $ this ->statement ->columnCount ();
84
+ }
85
+
86
+ /**
87
+ * @param int $columnNo
88
+ * @return array
89
+ */
90
+ public function getColumnMeta ($ columnNo ) {
91
+ return $ this ->statement ->getColumnMeta ($ columnNo );
92
+ }
78
93
}
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function getFoundRows() {
161
161
}
162
162
163
163
/**
164
- * @return \PDOStatement
164
+ * @return QueryStatement
165
165
*/
166
166
private function createStatement () {
167
167
$ db = $ this ->db ();
@@ -175,7 +175,7 @@ private function createStatement() {
175
175
}
176
176
177
177
/**
178
- * @param \PDOStatement $statement
178
+ * @param QueryStatement $statement
179
179
* @return array
180
180
*/
181
181
private function getFieldTypes ($ statement ) {
Original file line number Diff line number Diff line change 4
4
use Kir \MySQL \Builder ;
5
5
use Kir \MySQL \Builder \Exception ;
6
6
use Kir \MySQL \Builder \QueryStatement ;
7
- use Kir \MySQL \Builder \Statement ;
8
7
use Kir \MySQL \Database ;
9
8
use Kir \MySQL \QueryLogger \QueryLoggers ;
10
9
use Kir \MySQL \Tools \AliasRegistry ;
11
- use Kir \MySQL \Tools \PDOStatementInterceptor ;
12
10
use PDO ;
13
- use PDOStatement ;
14
11
use UnexpectedValueException ;
15
12
use Kir \MySQL \Builder \RunnableSelect ;
16
13
You can’t perform that action at this time.
0 commit comments