Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
argCount, deterministicFn, evalFunction
Instances
ToField a => Function a Source # | |
Defined in Database.SQLite.Simple.Function deterministicFn :: Proxy a -> Bool evalFunction :: FuncContext -> FuncArgs -> Int -> a -> IO () | |
Function a => Function (IO a) Source # | |
Defined in Database.SQLite.Simple.Function argCount :: Proxy (IO a) -> Int deterministicFn :: Proxy (IO a) -> Bool evalFunction :: FuncContext -> FuncArgs -> Int -> IO a -> IO () | |
(Function r, FromField f) => Function (f -> r) Source # | |
Defined in Database.SQLite.Simple.Function argCount :: Proxy (f -> r) -> Int deterministicFn :: Proxy (f -> r) -> Bool evalFunction :: FuncContext -> FuncArgs -> Int -> (f -> r) -> IO () |
createFunction :: forall f. Function f => Connection -> Text -> f -> IO (Either Error ()) Source #
deleteFunction :: Connection -> Text -> IO (Either Error ()) Source #