ejdb2-binding-0.1.0.0: Binding to EJDB2 C library, an embedded JSON noSQL database

Safe HaskellSafe
LanguageHaskell2010

Database.EJDB2.Query

Synopsis

Documentation

data Query Source #

Query handle

fromString Source #

Arguments

:: String

Query text

-> IO Query 

Create query object from specified text query. Collection must be specified in query.

setBool Source #

Arguments

:: Bool 
-> String

Placeholder

-> Query 
-> IO () 

Bind bool to query placeholder

setBoolAtIndex Source #

Arguments

:: Bool 
-> Int

Index

-> Query 
-> IO () 

Bind bool to query at specified index

setI64 Source #

Arguments

:: Int64 
-> String

Placeholder

-> Query 
-> IO () 

Bind number to query placeholder

setI64AtIndex Source #

Arguments

:: Int64 
-> Int

Index

-> Query 
-> IO () 

Bind number to query at specified index

setF64 Source #

Arguments

:: Double 
-> String

Placeholder

-> Query 
-> IO () 

Bind Double to query placeholder

setF64AtIndex Source #

Arguments

:: Double 
-> Int

Index

-> Query 
-> IO () 

Bind Double to query at specified index

setString Source #

Arguments

:: String 
-> String

Placeholder

-> Query 
-> IO () 

Bind string to query placeholder

setStringAtIndex Source #

Arguments

:: String 
-> Int

Index

-> Query 
-> IO () 

Bind string to query at specified index

setRegex Source #

Arguments

:: String

Regex

-> String

Placeholder

-> Query 
-> IO () 

Bind regex to query placeholder

setRegexAtIndex Source #

Arguments

:: String

Regex

-> Int

Index

-> Query 
-> IO () 

Bind regex to query at specified index

setNull Source #

Arguments

:: String

Placeholder

-> Query 
-> IO () 

Bind null value to query placeholder

setNullAtIndex Source #

Arguments

:: Int

Index

-> Query 
-> IO () 

Bind null value to query at specified index