mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-23 02:35:33 +03:00
Accomodate the RC7 API of the backend
This commit is contained in:
parent
89b92bdfa0
commit
dc21a81d36
@ -259,7 +259,7 @@ list s =
|
||||
{-# SCC "list" #-}
|
||||
Tx $ ReaderT $ \c -> do
|
||||
m <- Backend.executeAndGetMatrix s c
|
||||
traverse (either (throwIO . UnparsableRow) return . RowParser.parseRow) m
|
||||
traverse (either (throwIO . UnparsableRow) return . RowParser.parseRow) $ Vector.toList m
|
||||
|
||||
-- |
|
||||
-- Execute a @SELECT@ statement with a cursor,
|
||||
|
Loading…
Reference in New Issue
Block a user