Open clojurians-org opened 6 years ago
I am not sure what you are trying to retrieve - there is nothing called ResultMeta
. The metadata used internally by mysql-simple
comes from the Field
type of the lower-level mysql
package.
do this library offer JSON VALUE/MAP binding for Result? for hdbc, it exist such function to acquire it.
ghci> results <- fetchAllRowsAL stmt [[("id",SqlString "0"),("desc",SqlNull)],[("id",SqlString "0"),("desc",SqlString "zero")],[("id",SqlString "1"),("desc",SqlString "one")]]
No, this is not the same as hdbc
i can't find the method to get ResultMeta data about columnHeader for queryResult? so what's the way to acquire it?