Allow false column values in clob-column-reader
This commit is contained in:
parent
f39f6b3d24
commit
a3fba32605
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@
|
||||||
"An example column-reader that still uses `.getObject` but expands CLOB
|
"An example column-reader that still uses `.getObject` but expands CLOB
|
||||||
columns into strings."
|
columns into strings."
|
||||||
[^ResultSet rs ^ResultSetMetaData _ ^Integer i]
|
[^ResultSet rs ^ResultSetMetaData _ ^Integer i]
|
||||||
(when-let [value (.getObject rs i)]
|
(let [value (.getObject rs i)]
|
||||||
(cond-> value
|
(cond-> value
|
||||||
(instance? Clob value)
|
(instance? Clob value)
|
||||||
(clob->string))))
|
(clob->string))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue