!z3      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./012 Nonee  !"#$%&'(,+*).-/01:98765432=<;>?@ABCFEDGHIJNMLKTSRQPOhgfedcba`_^]\[ZYXWVUkjinmlopqrstuwvx|{zy~}     $#"! +*)('&%;:9876543210/.-,GFEDCBA@?>=<PONMLKJIHSRQUT\[ZYXWVcba`_^]None&',/2=>?@ACHSVXmd esqueleto1(Internal) Class for mapping results coming from  into actual results.This looks very similar to RawSqle, and it is! However, there are some crucial differences and ultimately they're different classes.e esqueleto!Creates the variable part of the SELECT query and returns the list of ;s that will be given to (.f esqueleto(Number of columns that will be consumed.g esqueleto1Transform a row of the result into the data type.h esqueletoCreate  INSERT INTO clause instead.i esqueleto,(Internal) Mode of query being converted by .3 esqueletoPhantom type used to mark a  INSERT INTO query.s esqueleto!An expression on the SQL backend.There are many comments describing the constructors of this data type. However, Haddock doesn't like GADTs, so you'll have to read them by hitting "Source". esqueleto1Information needed to escape and use identifiers. esqueletoHList of identifiers already in use and supply of temporary identifiers.4 esqueleto Identifier used for table names.5 esqueletoA locking clause.6 esqueletoA LIMIT clause. esqueletoA ORDER BY clause.7 esqueletoA HAVING cause.8 esqueletoA GROUP BY clause.9 esqueleto A complete WHERE clause.: esqueleto A part of a SET clause.; esqueleto A part of a FROM clause.< esqueletoThe DISTINCT "clause".= esqueletoThe default, everything.> esqueletoOnly DISTINCT, SQL standard.? esqueleto DISTINCT ON, PostgreSQL extension.@ esqueletoSide data written by . esqueletoConstraint synonym for  persistent entities whose backend is >. esqueletoSQL backend for  esqueleto using >.A esqueletoException data type for  esqueleto internal errors esqueleto%(Internal) Class that implements the JOIN  magic (see B). esqueleto+(Internal) Class that implements the tuple  magic (see B). esqueletoClass that enables one to use : to convert an entity's key on a query into another (cf. ). esqueletoPhantom class of data types that are treated as strings by the RDBMS. It has no methods because it's only used to avoid type errors such as trying to concatenate integers."If you have a custom data type or newtype2, feel free to make it an instance of this class. Since: 2.4.0 esqueleto0Different kinds of locking clauses supported by .iNote that each RDBMS has different locking support. The constructors of this datatype specify only the syntax$ of the locking mechanism, not its  semantics?. For example, even though both MySQL and PostgreSQL support :, there are no guarantees that they will behave the same. Since: 2.2.7 esqueleto FOR UPDATE5 syntax. Supported by MySQL, Oracle and PostgreSQL. Since: 2.2.7 esqueletoFOR UPDATE SKIP LOCKED5 syntax. Supported by MySQL, Oracle and PostgreSQL. Since: 2.2.7 esqueleto FOR SHARE" syntax. Supported by PostgreSQL. Since: 2.2.7 esqueletoLOCK IN SHARE MODE syntax. Supported by MySQL. Since: 2.2.7 esqueletoPhantom type used by . esqueletoPhantom type for a SET0 operation on an entity of the given type (see  and '(=.)'). esqueletoPhantom type used by  and . esqueletoPhantom type used by ,  and . esqueleto((Internal) Phantom type used to process  (see B). esqueletoException thrown whenever  is used to create an ON clause but no matching JOIN is found. esqueletoE(Internal) Functions that operate on types (that should be) of kind . esqueleto (Internal)  smartJoin a b is a JOIN of the correct kind. esqueleto(Internal) Reify a JoinKind from a JOIN . This function is non-strict. esqueleto(Internal) A kind of JOIN. esqueleto  INNER JOIN esqueleto  CROSS JOIN esqueleto LEFT OUTER JOIN esqueleto RIGHT OUTER JOIN esqueleto FULL OUTER JOIN esqueletoData type that represents a FULL OUTER JOIN (see  for an example). esqueletoData type that represents a RIGHT OUTER JOIN (see  for an example). esqueletoData type that represents a LEFT OUTER JOIN. For example,  select $  $ \(person `` pet) -> ... is translated into /SELECT ... FROM Person LEFT OUTER JOIN Pet ...  See also: . esqueletoData type that represents a  CROSS JOIN (see  for an example). esqueletoData type that represents an  INNER JOIN (see  for an example). esqueletouA class of things that can be converted into a list of SomeValue. It has instances for tuples and is the reason why  can take tuples, like  (foo  FooId, foo  FooName, foo  FooType). esqueletoA wrapper type for for any expr (Value a) for all a. esqueletohA list of single values. There's a limited set of functions able to work with this data type (such as , ,  and ). esqueleto=A single value (as opposed to a whole entity). You may use () or () to get a  from an .B esqueleto(Internal) Start a  query with an entity.  does two kinds of magic using B, C and D: >The simple but tedious magic of allowing tuples to be used.$The more advanced magic of creating JOIN s. The JOINB is processed from right to left. The rightmost entity of the JOIN is created with B . Each JOIN( step is then translated into a call to C. In the end, D! is called to materialize the JOIN.E esqueleto(Internal) Same as B, but entity may be missing.C esqueleto(Internal) Do a JOIN.D esqueleto(Internal) Finish a JOIN. esqueletoWHERE% clause: restrict the query's result. esqueletoON clause: restrict the a JOIN's result. The ON clause will be applied to the last JOIN that does not have an ON clause yet. If there are no JOIN s without ON+ clauses (either because you didn't do any JOIN, or because all JOINs already have their own ON clauses), a runtime exception  is thrown. ON! clauses are optional when doing JOINs.%On the simple case of doing just one JOIN , for example  select $  $ \(foo `` bar) -> do  (foo  FooId  bar  BarFooId) ... Pthere's no ambiguity and the rules above just mean that you're allowed to call ; only once (as in SQL). If you have many joins, then the s are applied on the reverse order that the JOINs appear. For example:  select $  $ \(foo `` bar `` baz) -> do  (baz  BazId  bar  BarBazId)  (foo  FooId  bar  BarFooId) ...  The order is reversed; in order to improve composability. For example, consider query1 and query2 below: let query1 =  $ \(foo `` bar) -> do  (foo  FooId  bar  BarFooId) query2 =  $ \(mbaz `#` quux) -> do return (mbaz f BazName, quux) test1 = (,) <$> query1 <*> query2 test2 = flip (,) <$> query2 <*> query1 If the order was not reversed, then test2 would be broken: query1's  would refer to query2's . esqueletoGROUP BY6 clause. You can enclose multiple columns in a tuple.  select $  \(foo `` bar) -> do  (foo  FooBarId  bar  BarId)  (bar  BarId, bar  BarName) return (bar  BarId, bar  BarName, countRows) DWith groupBy you can sort by aggregate functions, like so (we used let to restrict the more general  to SqlSqlExpr (Value Int)) to avoid ambiguity---the second use of  has its type restricted by the :: Int below): r <- select $  \(foo `` bar) -> do  (foo  FooBarId  bar  BarId)  $ bar  BarName let countRows' =   [ countRows'] return (bar " BarName, countRows') forM_ r $ \( name, 2 count) -> do print name print (count :: Int)  esqueletoORDER BY clause. See also  and .Multiple calls to 1 get concatenated on the final query, including . esqueleto/Ascending order of this field or SqlExpression. esqueleto0Descending order of this field or SqlExpression. esqueletoLIMIT%. Limit the number of returned rows. esqueletoOFFSET. Usually used with . esqueletoDISTINCT. Change the current SELECT into SELECT DISTINCT. For example: select $ distinct $  \foo -> do ... (Note that this also has the same effect:  select $ ) \foo -> do distinct (return ()) ...  Since: 2.2.4 esqueleto DISTINCT ON. Change the current SELECT into #SELECT DISTINCT ON (SqlExpressions). For example:  select $  \foo ->  [ (foo ^. FooName),  (foo ^. FooState)] $ do ... &You can also chain different calls to . The above is equivalent to:  select $  \foo ->  [ (foo ^. FooName)] $  [ (foo ^. FooState)] $ do ...  Each call to & adds more SqlExpressions. Calls to  override any calls to .4Note that PostgreSQL requires the SqlExpressions on  DISTINCT ON% to be the first ones to appear on a ORDER BYi. This is not managed automatically by esqueleto, keeping its spirit of trying to be close to raw SQL.Supported by PostgreSQL only. Since: 2.2.4 esqueletoCErase an SqlExpression's type so that it's suitable to be used by . Since: 2.2.4 esqueleto'A convenience function that calls both  and . In other words, + [asc foo, desc bar, desc quux] $ do ... is the same as: ' [don foo, don bar, don quux] $ do ' [asc foo, desc bar, desc quux] ...  Since: 2.2.4 esqueletoORDER BY random() clause. Since: 1.3.10 esqueletoHAVING. Since: 1.2.2 esqueleto1Add a locking clause to the query. Please read % documentation and your RDBMS manual.If multiple calls to 3 are made on the same query, the last one is used. Since: 2.2.7 esqueletoExecute a subquery SELECTO in an SqlExpression. Returns a simple value so should be used only when the SELECT- query is guaranteed to return just one row. esqueletoProject a field of an entity. esqueletoGProject an SqlExpression that may be null, guarding against null cases. esqueleto.Project a field of an entity that may be null. esqueleto5Lift a constant value from Haskell-land to the query. esqueletoIS NULL comparison. esqueleto Analogous to F, promotes a value of type typ into one of type  Maybe typ. It should hold that  . Just === just . . esqueletoNULL value. esqueleto Join nested Gs in a O into one. This is useful when calling aggregate functions on nullable fields. esqueletoCOUNT(*) value. esqueletoCOUNT. esqueletoCOUNT(DISTINCT x). Since: 2.4.1 esqueletoAllow a number of one type to be used as one of another type via an implicit cast. An explicit cast is not made, this function changes only the types on the Haskell side.Caveat: Trying to use castNum from Double to IntZ will not result in an integer, the original fractional number will still be used! Use ,  or  instead.Safety+: This operation is mostly safe due to the H constraint between the types and the fact that RDBMSs usually allow numbers of different types to be used interchangeably. However, there may still be issues with the query not being accepted by the RDBMS or  persistent not being able to parse it. Since: 2.2.9 esqueletoSame as , but for nullable values. Since: 2.2.9 esqueletoCOALESCE function. Evaluates the arguments in order and returns the value of the first non-NULL SqlExpression, or NULL (Nothing) otherwise. Some RDBMSs (such as SQLite) require at least two arguments; please refer to the appropriate documentation. Since: 1.4.3 esqueletoLike coalesce{, but takes a non-nullable SqlExpression placed at the end of the SqlExpression list, which guarantees a non-NULL result. Since: 1.4.3 esqueletoLOWER function. esqueletoLIKE operator. esqueletoILIKE operator (case-insensitive LIKE).Supported by PostgreSQL only. Since: 2.2.3 esqueleto The string . May be useful while using  and concatenation ( or a, depending on your database). Note that you always have to type the parenthesis, for example: name ` ` (%) ++.  "John" ++. (%)  esqueletoThe CONCATT function with a variable number of parameters. Supported by MySQL and PostgreSQL. esqueletoThe ||7 string concatenation operator (named after Haskell's I% in order to avoid naming clash with '). Supported by SQLite and PostgreSQL. esqueletoCast a string type into Text4. This function is very useful if you want to use newtype.s, or if you want to apply functions such as  to strings of different types.Safety:[ This is a slightly unsafe function, especially if you have defined your own instances of . Also, since G is an instance of k, it's possible to turn a nullable value into a non-nullable one. Avoid using this function if possible. esqueletoExecute a subquery SELECT1 in an SqlExpression. Returns a list of values. esqueleto=Lift a list of constant value from Haskell-land to the query. esqueletoSame as  but for D. Most of the time you won't need it, though, because you can use  from inside  or F from inside . Since: 2.2.12 esqueletoIN1 operator. For example if you want to select all Persons by a list of IDs: ,SELECT * FROM Person WHERE Person.id IN (?) In  esqueleto', we may write the same query above as:  select $  $ \person -> do  $ person  PersonId ``  personIds return person Where  personIds is of type  [Key Person]. esqueletoNOT IN operator. esqueletoEXISTS operator. For example:  select $  $ \person -> do  $  $  $ \post -> do  (post  BlogPostAuthorId  person  PersonId) return person  esqueleto NOT EXISTS operator. esqueletoSET clause used on UPDATEEs. Note that while it's not a type error to use this function on a SELECT4, it will most certainly result in a runtime error. esqueletoApply a  constructor to  SqlExpr Value arguments. esqueleto Apply extra  SqlExpr Value arguments to a  constructor esqueletoCASE statement. For example: select $ return $  [  ( $  $ \p -> do  (p  PersonName   "Mike"))  ( $ , $ \v -> do let sub =  $ \c -> do  (c  PersonName  " "Mike") return (c  PersonFavNum)  (v  PersonFavNum >.  sub) return $  (v  PersonName) +.  (1 :: Int)) ] ( $  (-1)) LThis query is a bit complicated, but basically it checks if a person named "Mike"x exists, and if that person does, run the subquery to find out how many people have a ranking (by Fav Num) higher than "Mike".NOTE:9 There are a few things to be aware about this statement.fThis only implements the full CASE statement, it does not implement the "simple" CASE statement. At least one  and 4 is mandatory otherwise it will emit an error.The C is also mandatory, unlike the SQL statement in which if the ELSE is omitted it will return a NULL#. You can reproduce this via . Since: 2.1.2 esqueleto.Convert an entity's key into another entity's.8This function is to be used when you change an entity's Id- to be that of another entity. For example: -Bar barNum Int Foo Id BarId fooNum Int For this example, declare: Pinstance ToBaseId Foo where type BaseEnt Foo = Bar toBaseIdWitness = FooKey )Now you're able to write queries such as:  $  $ (bar ` ` foo) -> do  ( (foo  FooId)  bar  BarId) return (bar, foo) ^Note: this function may be unsafe to use in conditions not like the one of the example above. Since: 2.4.3 esqueletoSyntax sugar for . Since: 2.1.2 esqueletoSyntax sugar for . Since: 2.1.2 esqueletoSyntax sugar for . Since: 2.1.2 esqueletoFROM# clause: bring entities into scope.This function internally uses two type classes in order to provide some flexibility of how you may call it. Internally we refer to these type classes as the two different magics.&The innermost magic allows you to use from with the following types:expr (Entity val),, which brings a single entity into scope.expr (Maybe (Entity val))-, which brings a single entity that may be NULL into scope. Used for  OUTER JOINs.A JOINB of any other two types allowed by the innermost magic, where a JOIN may be an , a , a , a , or a . The JOINs have left fixity.&The outermost magic allows you to use fromn on any tuples of types supported by innermost magic (and also tuples of tuples, and so on), up to 8-tuples.Note that using fromz for the same entity twice does work and corresponds to a self-join. You don't even need to use two different calls to from, you may use a JOIN or a tuple.,The following are valid examples of uses of fromH (the types of the arguments of the lambda are inside square brackets):  $ \person -> ...  $ \(person, blogPost) -> ...  $ \(p ` ` mb) -> ...  $ \(p1 `` f ` ` p2) -> ...  $ \((p1 `` f) ` ` p2) -> ... CThe types of the arguments to the lambdas above are, respectively: person :: ( Esqueleto query expr backend , PersistEntity Person , PersistEntityBackend Person ~ backend ) => expr (Entity Person) (person, blogPost) :: (...) => (expr (Entity Person), expr (Entity BlogPost)) (p `[` mb) :: (...) => InnerJoin (expr (Entity Person)) (expr (Maybe (Entity BlogPost))) (p1 `` f `` p2) :: (...) => InnerJoin (InnerJoin (expr (Entity Person)) (expr (Entity Follow))) (expr (Entity Person)) (p1 `` (f `` p2)) :: :: (...) => InnerJoin (expr (Entity Person)) (InnerJoin (expr (Entity Follow)) (expr (Entity Person))) 5Note that some backends may not support all kinds of JOINs.J esqueletoCollect Ks on L!s. Returns the first unmatched K*s data on error. Returns a list without  OnClauses on success.M esqueletoCreate a fresh 4. If possible, use the given .N esqueletoUse an identifier. esqueleto#(Internal) Create a case statement. Since: 2.1.1 esqueleto1(Internal) Create a custom binary operator. You should not use this function directly since its type is very general, you should always use it with an explicit type signature. For example: e(==.) :: SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value Bool) (==.) = unsafeSqlBinOp " = " zIn the example above, we constraint the arguments to be of the same type and constraint the result to be a boolean value. esqueleto Similar to , but may also be applied to composite keys. Uses the operator given as the second argument whenever applied to composite keys.Usage example: v(==.) :: SqlExpr (Value a) -> SqlExpr (Value a) -> SqlExpr (Value Bool) (==.) = unsafeSqlBinOpComposite " = " " AND " <Persistent has a hack for implementing composite keys (see wU doc for more details), so we're forced to use a hack here as well. We deconstruct v values based on two rules:HIf it is a single placeholder, then it's assumed to be coming from a 0Y and thus its components are separated so that they may be applied to a composite key.If it is not a single placeholder, then it's assumed to be a foreign (composite or not) key, so we enforce that it has no placeholders and split it on the commas. esqueleto4(Internal) A raw SQL value. The same warning from " applies to this function as well.  esqueletoC(Internal) A raw SQL function. Once again, the same warning from " applies to this function as well.  esqueletoc(Internal) An unsafe SQL function to extract a subfield from a compound field, e.g. datetime. See  for warnings. Since: 1.3.6.O esqueletoL(Internal) A raw SQL function. Preserves parentheses around arguments. See  for warnings.  esqueletoE(Internal) An explicit SQL type cast using CAST(value as type). See  for warnings.  esqueleto_(Internal) Coerce a value's type from 'SqlExpr (Value a)' to 'SqlExpr (Value b)'. You should not6 use this function unless you know what you're doing!  esqueletow(Internal) Coerce a value's type from 'SqlExpr (ValueList a)' to 'SqlExpr (Value a)'. Does not work with empty lists. esqueleto(Internal) Execute an  esqueleto SELECT  inside  persistent's > monad. esqueleto Execute an  esqueleto SELECT query inside  persistent's > monad and return a P of rows. esqueleto Execute an  esqueleto SELECT query inside  persistent's >! monad and return a list of rows.We've seen that M has some magic about which kinds of things you may bring into scope. This f function also has some magic for which kinds of things you may bring back to Haskell-land by using SqlQuery's return:You may return a  SqlExpr ( v) for an entity v (i.e., like the *; in SQL), which is then returned to Haskell-land as just Entity v.You may return a SqlExpr (Maybe (Entity v)) for an entity v that may be NULL., which is then returned to Haskell-land as Maybe (Entity v) . Used for  OUTER JOINs.You may return a  SqlExpr ( t) for a value t" (i.e., a single column), where t is any instance of ., which is then returned to Haskell-land as Value t. You may use Value to return projections of an Entity (see () and ()@) or to return any other value calculated on the query (e.g.,  or ).The  SqlSelect a rR class has functional dependencies that allow type information to flow both from a to r] and vice-versa. This means that you'll almost never have to give any type signatures for  esqueleto# queries. For example, the query  $ from $ \p -> return p+ alone is ambiguous, but in the context of  do ps <-  $ T $ \p -> return p liftIO $ mapM_ (putStrLn . personName . entityVal) ps &we are able to infer from that single personName . entityVal function composition that the p inside the query is of type SqlExpr (Entity Person). esqueleto(Internal) Run a P of rows. esqueleto(Internal) Execute an  esqueleto statement inside  persistent's > monad. esqueleto Execute an  esqueleto DELETE query inside  persistent's >b monad. Note that currently there are no type checks for statements that should not appear on a DELETE query.Example of usage:  $  $ \appointment ->  (appointment  AppointmentDate   now) Unlike !, there is a useful way of using Q that will lead to type ambiguities. If you want to delete all rows (i.e., no . clause), you'll have to use a type signature:  $  $ \(appointment :: s ( Appointment)) -> return ()  esqueletoSame as *, but returns the number of rows affected. esqueleto Execute an  esqueleto UPDATE query inside  persistent's >b monad. Note that currently there are no type checks for statements that should not appear on a UPDATE query.Example of usage:  $ \p -> do  p [ PersonAge   ( thisYear) -. p  PersonBorn ]  $ isNothing (p  PersonAge)  esqueletoSame as *, but returns the number of rows affected. esqueleto(Internal) Pretty prints a  into a SQL query.@Note: if you're curious about the SQL query being generated by  esqueletos, instead of manually using this function (which is possible but tedious), you may just turn on query logging of  persistent.Q esqueletoMaterialize a SqlExpr (Value a). esqueleto Insert a  for every selected value. Since: 2.4.2 esqueleto Insert a 5 for every selected value, return the count afterwardR esqueleto Since: 1.4.4S esqueleto Since: 2.4.0T esqueleto Since: 2.3.0U esqueleto Since: 2.3.0V esqueleto Since: 2.3.0W esqueleto Since: 2.3.0X esqueleto Since: 2.3.0Y esqueletoEYou may return tuples (up to 16-tuples) and tuples of tuples from a  query.Z esqueleto?You may return any single value (i.e. a single column) from a  query.[ esqueletoYou may return a possibly-NULL  from a  query.\ esqueletoYou may return an  from a  query.] esqueletoNot useful for , but used for  and .^ esqueleto INSERT INTO hack.<dfehgimljkno_`apqr3s}yxvw{|zu~tbc4d56e78f9gh:i;KLj<=>?@klmnopqrstuvwxyz{|}~ABECDJMN  O   Q22222222229 44444432667722533333None&'2=>?@ACHVUNone&',/2=>?@ACHSVX3<dghefikjlmnoprqst~uz|{wvxy}     <st~uz|{wvxy}   nikjlmprqdghef  oNone&'=>? esqueleto valkey i =  .  ( 2https://github.com/prowdsponsor/esqueleto/issues/9). esqueletovalJ is like val% but for something that is already a Value0. The use case it was written for was, given a Value lift the Key for that Valueu into the query expression in a type safe way. However, the implementation is more generic than that so we call it valJ.Its important to note that the input entity and the output entity are constrained to be the same by the type signature on the function ( 1https://github.com/prowdsponsor/esqueleto/pull/69). Since: 1.4.2  esqueleto Synonym for   that does not clash with  esqueleto's .  !"#$%&'(,+*).-/01:98765432=<;>?@ABCFEDGHIJNMLKTSRQPOhgfedcba`_^]\[ZYXWVUkjinmlopqrstuwvx|{zy~}     $#"! +*)('&%;:9876543210/.-,GFEDCBA@?>=<PONMLKJIHSRQUT\[ZYXWVcba`_^]s s /x10   $&%('#! "GHIutwvcba`_^]|{zy~}.-,+*)A:98765432CB=<;FED@?>NMLKsJhgfedcba`_^]\[ZYXWVUopkjiqnmlrTSRQPO     $#"! UT+*)('&%PONMLKJIH\[ZYXWV;:9876543210/.-,GFEDCBA@?>=<SRQNone! esqueleto(random()H) Split out into database specific modules because MySQL uses `rand()`. Since: 2.6.0!!None&'>ѫ " esqueletoAggregate mode# esqueletoALL$ esqueletoDISTINCT% esqueleto(random()H) Split out into database specific modules because MySQL uses `rand()`. Since: 2.6.0 esqueletoEmpty array literal. (val []) does unfortunately not work& esqueleto-Coalesce an array with an empty default value' esqueletoB(Internal) Create a custom aggregate functions with aggregate modeDo notT use this function directly, instead define a new function and give it a type (see )* esqueleto( array_agg/) Concatenate distinct input values, including NULLs, into an array. Since: 2.5.3+ esqueleto( array_remove?) Remove all elements equal to the given value from the array. Since: 2.5.3, esqueletoRemove NULL values from an array- esqueleto( string_agg5) Concatenate input values separated by a delimiter.. esqueleto( string_agg5) Concatenate input values separated by a delimiter. Since: 2.2.8/ esqueleto(chrs) Translate the given integer to a character. (Note the result will depend on the character set of your database.) Since: 2.2.11- esqueleto Aggregate mode (ALL or DISTINCT) esqueleto Input values. esqueleto Delimiter. esqueletoORDER BY clauses esqueletoConcatenation.. esqueleto Input values. esqueleto Delimiter. esqueletoConcatenation."#$%&'()*+,-./0"#$*)(+,.-&/0%'None2 esqueleto(random()H) Split out into database specific modules because MySQL uses `rand()`. Since: 2.6.022 SafeU                 ! " # $ % & ' ( ) *+ *, *- *. */ *0 *1 *2 *3 *4 56 57 58 59 5: 5; <= <> <? <@ <A <B CD EF EG HI HJ HK HL HM HN HO HP HP HQ HR HS HT HU HV HW HX HY HZ H[ H[ \] \^ \_ \` \a \b \c \d \e \f \g \h \i \i \j \k \l \m \n \o \p \q \r \s \t \u \v \w \x \y \z \{ \| \| \} \~ \~ \ \ \ \ \ \ \ \                                                                            ! " " # $ % & ' ' ( ) * * + , - . / 0 1 2 3 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c c  d e f g h i jk jl jm jn jo jp jqrstuvwxyz{|}~U       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGEFHEIJEKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkl:m?nopqrstuvwxyz{|}~        &esqueleto-3.0.0-BJsIEEl1HeT9JRVZNHhcgzDatabase.Esqueleto$Database.Esqueleto.Internal.LanguageDatabase.Esqueleto.Internal.SqlDatabase.Esqueleto.MySQLDatabase.Esqueleto.PostgreSQLDatabase.Esqueleto.SQLite,Database.Esqueleto.Internal.PersistentImport$Database.Esqueleto.Internal.InternalDatabase.Persist.StoredeletePaths_esqueleto(persistent-2.10.0-7mIa16pqZbh5E8Eu63jLaTDatabase.Persist.SqltransactionUndotransactionSaveDatabase.Persist.Sql.MigrationmigraterunMigrationUnsaferunMigrationSilent runMigration getMigration showMigrationprintMigrationparseMigration'parseMigration(Database.Persist.Sql.Orphan.PersistQuerydecorateSQLWithLimitOffset(Database.Persist.Sql.Orphan.PersistStore fieldDBName getFieldName tableDBName getTableName fromSqlKeytoSqlKey withRawQueryunSqlBackendKey SqlBackendKeyunSqlReadBackendKeySqlReadBackendKeyunSqlWriteBackendKeySqlWriteBackendKeyDatabase.Persist.Sql.Runclose' withSqlConn askLogFunc createSqlPool withSqlPoolliftSqlPersistMPoolrunSqlPersistMPoolrunSqlPersistM runSqlConn runSqlPoolDatabase.Persist.Sql.RawrawSql getStmtConnrawExecuteCount rawExecute rawQueryResrawQueryDatabase.Persist.Sql.ClassrawSqlProcessRowrawSqlColCountReason rawSqlColsRawSqlsqlTypePersistFieldSqlDatabase.Persist toJsonTextDatabase.Persist.Sql.Internal mkColumnsdefaultAttributeDatabase.Persist.Sql.Types cReferencecMaxLencDefaultConstraintNamecDefaultcSqlTypecNullcNameColumnCouldn'tGetSQLConnectionStatementAlreadyFinalizedPersistentSqlException SqlPersistT SqlPersistMSqlCautiousMigration MigrationConnectionPoolunSingleSingle#Database.Persist.Sql.Types.Internal readToUnknown readToWritewriteToUnknownLogFunc ISRManyKeys ISRInsertGet ISRSingleInsertSqlResult stmtQuery stmtExecute stmtReset stmtFinalize StatementconnRepsertManySql connMaxParams connLogFuncconnLimitOffset connRDBMS connNoLimitconnEscapeName connRollback connCommit connBeginconnMigrateSql connClose connStmtMapconnPutManySql connUpsertSqlconnInsertManySql connInsertSql connPrepare SqlBackendunSqlReadBackendSqlReadBackendunSqlWriteBackendSqlWriteBackendSqlBackendCanReadSqlBackendCanWriteSqlReadT SqlWriteT IsSqlBackendDatabase.Persist.Class PersistUnique PersistStore$Database.Persist.Class.DeleteCascade deleteCascade DeleteCascade#Database.Persist.Class.PersistQuery selectKeys selectKeysRes selectFirstselectSourceResPersistQueryRead deleteWhere updateWherePersistQueryWrite$Database.Persist.Class.PersistUnique checkUnique replaceUnique getByValue onlyUniqueinsertUniqueEntityinsertBygetByPersistUniqueReadputManyupsertByupsert insertUniquedeleteByPersistUniqueWrite#Database.Persist.Class.PersistStore insertRecord getEntity insertEntity belongsToJust belongsTo getJustEntitygetJust liftPersistpersistBackend BaseBackendHasPersistBackendIsPersistBackendprojectBackendBackendCompatiblePersistRecordBackendfromBackendKey toBackendKey ToBackendKey BackendKey PersistCoregetManygetPersistStoreRead updateGetreplace repsertManyrepsert insertKeyinsertEntityMany insertMany_ insertManyinsert_insertPersistStoreWrite$Database.Persist.Class.PersistEntityfromPersistValueJSONtoPersistValueJSONentityIdFromJSONentityIdToJSONkeyValueEntityFromJSONkeyValueEntityToJSON entityValues fieldLenspersistUniqueToValuespersistUniqueToFieldNamespersistUniqueKeysfromPersistValuestoPersistFieldspersistFieldDef entityDefpersistIdField keyFromValues keyToValuesUnique EntityFieldKeyPersistEntityBackend PersistEntityBackendSpecificUpdate entityVal entityKeyEntity#Database.Persist.Class.PersistFieldfromPersistValuetoPersistValue PersistFieldSomePersistFieldDatabase.Persist.Types.BasefromPersistValueTexttoEmbedEntityDefkeyAndEntityFieldsentityKeyFields entityPrimaryInactiveActive Checkmark NotNullableNullable IsNullableByNullableAttr ByMaybeAttr WhyNullableentityComments entitySum entityExtra entityDerivesentityForeigns entityUniques entityFields entityAttrsentityIdentityDB entityHaskell EntityDef ExtraLine unHaskellName HaskellNameunDBNameDBNameAttrFTListFTApp FTTypeCon FieldType fieldCommentsfieldReference fieldStrict fieldAttrs fieldSqlType fieldTypefieldDB fieldHaskellFieldDef SelfReference CompositeRefEmbedRef ForeignRef NoReference ReferenceDefembeddedFieldsembeddedHaskellEmbedEntityDef emFieldCycle emFieldEmbed emFieldDB EmbedFieldDef uniqueAttrs uniqueFields uniqueDBName uniqueHaskell UniqueDefcompositeAttrscompositeFields CompositeDefForeignFieldDefforeignNullable foreignAttrs foreignFieldsforeignConstraintNameDBNameforeignConstraintNameHaskellforeignRefTableDBNameforeignRefTableHaskell ForeignDefPersistMongoDBUnsupportedPersistMongoDBErrorPersistForeignConstraintUnmetPersistInvalidFieldPersistMarshalError PersistErrorPersistExceptionPersistDbSpecific PersistArrayPersistObjectId PersistMap PersistList PersistNullPersistUTCTimePersistTimeOfDay PersistDay PersistBoolPersistRational PersistDouble PersistInt64PersistByteString PersistText PersistValueSqlOtherSqlBlob SqlDayTimeSqlTimeSqlDaySqlBool SqlNumericSqlRealSqlInt64SqlInt32 SqlStringSqlTypeNotInInLeGeLtGtNeEq PersistFilter UpsertError KeyNotFoundUpdateExceptionOnlyUniqueExceptionDivideMultiplySubtractAddAssign PersistUpdate$Database.Persist.Class.PersistConfigrunPoolcreatePoolConfigapplyEnv loadConfigPersistConfigPoolPersistConfigBackend PersistConfig SqlSelect sqlSelectColssqlSelectColCountsqlSelectProcessRow sqlInsertIntoModeSELECTDELETEUPDATE INSERT_INTOUnsafeSqlFunctionArgument toArgList NeedParensParensNeverSqlExprEEntityEMaybeERaw ECompositeKeyEList EEmptyListEOrderBy EOrderRandom EDistinctOnESetEPreprocessedFromEInsert EInsertFinal IdentInfo IdentState OrderByClause SqlEntitySqlQueryFromPreprocessFromToBaseIdBaseEnttoBaseIdWitness LockingKind ForUpdateForUpdateSkipLockedForShareLockInShareMode InsertionUpdate DistinctOnOrderByPreprocessedFrom$OnClauseWithoutMatchingJoinException IsJoinKind smartJoin reifyJoinKindJoinKind InnerJoinKind CrossJoinKindLeftOuterJoinKindRightOuterJoinKindFullOuterJoinKind FullOuterJoinRightOuterJoin LeftOuterJoin CrossJoin InnerJoin ToSomeValues toSomeValues SomeValue ValueListValueunValuewhere_ongroupByorderByascdesclimitoffsetdistinct distinctOndondistinctOnOrderByrandhavinglocking sub_select^. withNonNull?.val isNothingjustnothingjoinV countRowscount countDistinctnot_==.>=.>.<=.<.!=.&&.||.+.-./.*.random_round_ceiling_floor_sum_min_max_avg_castNumcastNumMcoalescecoalesceDefaultlower_likeilike%concat_++. castStringsubList_selectvalListjustListin_notInexists notExistsset=.+=.-=.*=./=.<#<&>case_toBaseIdwhen_then_else_frominitialIdentState unsafeSqlCaseunsafeSqlBinOpunsafeSqlBinOpCompositeunsafeSqlValueunsafeSqlFunctionunsafeSqlExtractSubFieldunsafeSqlCastAsveryUnsafeCoerceSqlExprValue veryUnsafeCoerceSqlExprValueListrawSelectSource selectSourceselect runSource rawEsqueleto deleteCountupdate updateCount builderToTexttoRawSql uncommas'makeOrderByNoNewlineparens insertSelectinsertSelectCountvalkeyvalJ deleteKeyAggMode AggModeAllAggModeDistinct maybeArrayunsafeSqlAggregateFunction arrayAggWitharrayAggarrayAggDistinct arrayRemovearrayRemoveNull stringAggWith stringAggchrnow_ $fShowAggMode InsertFinalIdent LockingClause LimitClause HavingClause GroupByClause WhereClause SetClause FromClauseDistinctClause DistinctAllDistinctStandardSideDataEsqueletoError fromStartfromJoin fromFinishfromStartMaybebase GHC.MaybeJustMaybeGHC.NumNumGHC.Base++collectOnClausesOnClauseFromJoin newIdentForuseIdentunsafeSqlFunctionParens&conduit-1.3.1.1-CyKLWbxru6GLiPQzdi5ZfgData.Conduit.Internal.ConduitSourcematerializeExpr$fFunctorValue$fSqlStringMaybe$fSqlStringMarkupM$fSqlStringByteString$fSqlStringText$fSqlStringText0 $fSqlString[]$fSqlSelect(,)(,)$fSqlSelectSqlExprValue$fSqlSelectSqlExprMaybe$fSqlSelectSqlExprEntity$fSqlSelect()()$fSqlSelectSqlExprInsertFinal OrderByTypeDESCASCinUseILimitGroupByNoWhereWhere FromStart sdSetClausesdLockingClausesdHavingClausesdDistinctClause sdLimitClausesdOrderByClausesdGroupByClause sdWhereClause sdFromClauseQunQSqlBinOpCompositeErrorDeconstructionErrorNullPlaceholdersErrorMismatchingLengthsErrorUnexpectedCaseErrorUnsafeSqlCaseErrorNewIdentForErrorInsertionFinalErrorUnsupportedSqlInsertIntoType MakeFromErrorEmptySqlExprValueListCompositeKeyErrorMakeHavingErrorMakeWhereError MakeSetError MakeExcErrorMakeOnClauseErrorSqlCastAsError SqlBinOpError SqlCaseError FoldHelpErrorCombineInsertionErrorToInsertionErrorNotErrorSqlBinOpCompositeErrUnexpectedCaseErrCompositeKeyErrfromPreprocessfrom_parensM fieldNamesetAuxsub fromDBName existsHelperifNotEmptyList countHelperuncommas intersperseBmakeInsertInto makeSelectmakeFrommakeSet makeWhere makeGroupBy makeHaving makeOrderBy makeLimit makeLocking getEntityValfrom3Pfrom3to3from4Pfrom4to4from5Pto5from6Pto6from7Pto7from8Pto8from9Pto9from10Pto10from11Pto11from12Pto12from13Pto13from14Pto14from15Pto15from16Pto16 emptyArrayversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName