Module

MySQL.Connection

Package
purescript-mysql
Repository
oreshinya/purescript-mysql

#ConnectionInfo Source

type ConnectionInfo = { charset :: String, connectTimeout :: Int, database :: String, dateStrings :: Boolean, debug :: Boolean, host :: String, multipleStatements :: Boolean, password :: String, port :: Int, timezone :: String, trace :: Boolean, user :: String }

#QueryOptions Source

type QueryOptions = { nestTables :: Boolean, sql :: String }

#Connection Source

#queryWithOptions Source

#queryWithOptions_ Source

#query Source

query :: forall a. ReadForeign a => String -> Array QueryValue -> Connection -> Aff (Array a)

#query_ Source

query_ :: forall a. ReadForeign a => String -> Connection -> Aff (Array a)