Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Database.EJDB2.Query
Synopsis
- data Query
- fromString :: String -> IO Query
- setBool :: Bool -> String -> Query -> IO ()
- setBoolAtIndex :: Bool -> Int -> Query -> IO ()
- setI64 :: Int64 -> String -> Query -> IO ()
- setI64AtIndex :: Int64 -> Int -> Query -> IO ()
- setF64 :: Double -> String -> Query -> IO ()
- setF64AtIndex :: Double -> Int -> Query -> IO ()
- setString :: String -> String -> Query -> IO ()
- setStringAtIndex :: String -> Int -> Query -> IO ()
- setRegex :: String -> String -> Query -> IO ()
- setRegexAtIndex :: String -> Int -> Query -> IO ()
- setNull :: String -> Query -> IO ()
- setNullAtIndex :: Int -> Query -> IO ()
Documentation
Create query object from specified text query. Collection must be specified in query.
Bind bool to query placeholder
Bind bool to query at specified index
Bind number to query placeholder
Bind number to query at specified index
Bind Double
to query placeholder
Bind Double
to query at specified index
Bind string to query placeholder
Bind string to query at specified index
Bind regex to query placeholder
Bind regex to query at specified index