We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5780e32 + 8b70886 commit f6d92b0Copy full SHA for f6d92b0
src/statement.phel
@@ -2,7 +2,7 @@
2
3
(defstruct statement [stmt])
4
5
-(defn- map-key-to-keyowrd [row]
+(defn- map-key-to-keyword [row]
6
(let [row (php-array-to-map row)]
7
(reduce (fn [acc key]
8
(put acc (keyword key) (row key)))
@@ -11,7 +11,7 @@
11
(defn fetch
12
"Fetches the next row from a result set"
13
[statement]
14
- (map-key-to-keyowrd
+ (map-key-to-keyword
15
(php/->
16
(statement :stmt)
17
(fetch (php/:: \PDO FETCH_ASSOC)))))
@@ -26,7 +26,7 @@
26
(defn fetch-all
27
"Fetches the remaining rows from a result set"
28
29
- (map map-key-to-keyowrd
+ (map map-key-to-keyword
30
31
32
(fetchAll (php/:: \PDO FETCH_ASSOC)))))
0 commit comments