úÎ!-Y+å     None"#%,/17;>EHMPX_k+Fpostgresql-simple-named3Type alias for monads that can throw errors of the  type.postgresql-simple-named PostgreSQL! error type for named parameters.postgresql-simple-named!Named parameter is not specified.postgresql-simple-named>Query has no names inside but was called with named functions.postgresql-simple-namedQuery contains an empty name.postgresql-simple-named,Data type to represent each named parameter. postgresql-simple-named"Wrapper over name of the argument.postgresql-simple-namedChecks whether the  * is in the list and returns its parameter. postgresql-simple-namedDThis function takes query with named parameters specified like this: ,SELECT name, user FROM users WHERE id = ?id Tand returns either the error or the query with all names replaced by question marks ?= with the list of the names in the order of their appearance. For example:QextractNames "SELECT * FROM users WHERE foo = ?foo AND bar = ?bar AND baz = ?foo"ZRight ("SELECT * FROM users WHERE foo = ? AND bar = ? AND baz = ?","foo" :| ["bar","foo"]) postgresql-simple-named<Returns the list of values to use in query by given list of   s. Throws ) if any named parameter is not specified.postgresql-simple-namedOperator to create s."foo" =? (1 :: Int)@NamedParam {namedParamName = "foo", namedParamParam = Plain "1"}>So it can be used in creating the list of the named arguments: ŠqueryNamed [sql| SELECT * FROM users WHERE foo = ?foo AND bar = ?bar AND baz = ?foo" |] [ "foo" =? "fooBar" , "bar" =? "barVar" ] postgresql-simple-namedbQueries the database with a given query and named parameters and expects a list of rows in return. WqueryNamed dbConnection [sql| SELECT id FROM table WHERE foo = ?foo |] [ "foo"  "bar" ] postgresql-simple-namedhModifies the database with a given query and named parameters and expects a number of the rows affected. ?executeNamed dbConnection [sql| UPDATE table SET foo = bar WHERE id = ?id |] [ "id"  someId ] postgresql-simple-namedHelper to use named parameters. postgresql-simple-namedList of the names used in querypostgresql-simple-namedList of the named parameterspostgresql-simple-namedDatabase connectionpostgresql-simple-named"Query with named parameters insidepostgresql-simple-named4The list of named parameters to be used in the querypostgresql-simple-namedResulting rowspostgresql-simple-namedDatabase connectionpostgresql-simple-named"Query with named parameters insidepostgresql-simple-named4The list of named parameters to be used in the querypostgresql-simple-named.Number of the rows affected by the given query   1      6postgresql-simple-named-0.0.0.0-Jb7YNP0Uyfn7MLQoRMsciaPgNamedWithNamedError PgNamedError PgNamedParam PgNoNames PgEmptyName NamedParamnamedParamNamenamedParamParamNameunName extractNames namesToRow=? queryNamed executeNamed$fShowPgNamedError $fShowName$fEqName $fOrdName$fIsStringName$fShowNamedParam$fEqPgNamedError lookupName withNamedArgs