X)S      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr s t u v w x y z { | } ~        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~        !!!!!!!!!!!! ! ! ! ! !!!!!!!!!!!!!!!!!!! !!!"!#!$!%!&!'!(!)!*!+!,!-!.!/!0!1!2!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"(#2014 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownSafeS!String wrap type for SQL strings.TS from U.VS to U.WRow String of SQL values.XPlace holder row String of SQL.YList String of SQL.ZList String of SQL.STVWXYZSTVWXYZSTVWXYZ2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone35*Constraint which represents scalar degree. instance templates.[[2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownSafe#Type tag for aggregatings power set'Type tag for aggregatings GROUPING SETS$Type tag for normal aggregatings set%Type tag for window function building Type tag for exists predicate Type tag for aggregated query (Type tag for flat (not-aggregated) query    2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone35 %Interface for constant SQL term list.CSpecify tuple like record constructors which are allowed to define ProjectableFunctor.The constructor which has type r.\!Constant integral SQL expression.]Escape U$ for constant SQL string expression.^From U% into constant SQL string expression.String interface of  ._$Constant SQL terms of '(a, b)' type.`Constant SQL terms of a# type. Width inference is required.bConstant SQL terms of cT. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal with UTC timezone.dConstant SQL terms of eB. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal.fConstant SQL terms of g.hConstant SQL terms of i.jConstant SQL terms of k.lConstant SQL terms of m(. Caution for floating-point error rate.nConstant SQL terms of o(. Caution for floating-point error rate.pConstant SQL terms of q.rConstant SQL terms of s.tConstant SQL terms of u.vConstant SQL terms of w.xConstant SQL terms of y.zConstant SQL terms of {.|Constant SQL terms of U.}Constant SQL terms of ~U. Use this carefully, because this is architecture dependent size of integer type.Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .Constant SQL terms of .$ProductConstructor instance of pair.# \]^_`bdfhjlnprtvxz|}  !  \]^_`bdfhjlnprtvxz|}2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4;NProjection path from type r0 into type r16. This type also indicate key object which type is r1 for record type r0.'Projection path primary structure type.&Unsafely untype key to expand indexes.MUnsafely cast width proof object of record. Result record must be same width.Projectable fmap of  type.Projectable ap of  type.Get record width proof object.Get record width.Compose projection path.Compose projection path. a phantom functor is -ed.Compose projection path. a phantom functors are join -ed like >=>.$Unsafely project untyped value list.*Unsafely define projection path from type r0 into type r1.*Unsafely define projection path from type r0 into type r1. Use inferred .*Unsafely define projection path from type r0 into type r1.*Unsafely define projection path from type r0 into type r1. Use inferred .Index of flat SQL value listResult projection pathIndex of flat SQL value listResult projection pathIndexes of flat SQL value listResult projection pathIndexes of flat SQL value listResult projection path  2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneIdentity projection path.!Projection path for fst of tuple.!Projection path for snd of tuple.Projection path of fst.Projection path of snd.  2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457  Constraint " inference interface.!Infer constraint key."-Constraint Key proof object. Constraint type c, record type r and columns type ct.#,Index of key which specifies constraint key. Width of key.$Unsafely generate constraint "( proof object using specified key index.%Get table constraint  proof object from constraint ".&1Get projection path proof object from constraint ".6Unsafe. Make constraint key to add column phantom type*Map from table constraint into constraint ".'Derive  constraint " from  constraint "(Infered  constraint ". Record type r has unique key which type is ct derived from primay key. !"#$-Key indexes which specify this constraint key"Result constraint key proof object%&'(  !"#$%&'( "#$%&' !( !"#$%&'(2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone35,)Assignment pair list.*Assignment pair+Value SQL String,Column SQL String-Type for order-by terms.Type for order-by term/Type for order-by column0)Order direction. Ascendant or Descendant.3Typeful aggregate element.4Type for group-by tree5Type for grouping set6Type for group key.7Type for group-by term8#Result record duplication attribute;$Unit of product is supported or not.>Configuration type.E'Schema name qualify mode in SQL string.F)Schema qualified table name in SQL stringG&Not qualified table name in SQL stringHH/ type to customize names of expanded templates.LColumn SQL string typeSimple wrap typeML from stringNL from SString from ColumnSQLOStringSQL from ColumnSQLPDefault configuration.Q%Compose duplication attribute string.R Single term aggregation element.SKey of aggregation power set.TSingle grouping set.URollup aggregation element.VCube aggregation element.WGrouping sets aggregation.XEmpty aggregation.Y0Compose GROUP BY clause from AggregateElem list.Z9Compose PARTITION BY clause from AggregateColumnRef list.[Extract typed projection from 3.\Extract untyped term from 3.]5Unsafely bind typed-projection and untyped-term into 3.^*Compose ORDER BY clause from OrderingTerms_Compose SET clause from ).`Compose VALUES clause from ).aCompose OVER (PARTITION BY ... ) clause.K)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a9)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a9LMNOHIJKEFG>?@ABCDP;<=89:Q7654RXSTUVWYZ3[\]012/.-^,+*)_`a1)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNonebInference rule of d existence.dPhantom typed table typeeUntyped typed table typefName string of table in SQLgWidth of tableColumn name strings in SQLhColumn name strings in SQLi,Column name string in SQL specified by indexj Untype table.kName string of table in SQLl)Not qualified name string of table in SQLmWidth of tablenColumn name strings in SQLo,Column name string in SQL specified by indexpCast phantom type into a type.q+Unsafely generate phantom typed table type.bcdefghi Column indexColumn name String in SQLjklmno Column indexColumn name String in SQLpqbcdefghijklmnopqefghidjklmnoqpbcbcdefghijklmnopq$2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneType for restriction of query.r=Phantom typed projection. Projected into Haskell record type t.Discard projection value type sType for join product of query.tProduct node specialized by {.uProduct tree specialized by {..Product node. node attribute and product tree.KProduct tree type. Product tree is constructed by left node and right node.node attribute for product.v'Untyped projection. Forgot record type.wProjection structure unitxQualified query.yQualifier type.{Sub-query typeSet binary operators Set operatorsUnsafely type projection value. instance of x%rstuvwxyz{#rstuvwxyz{rstuvwxyz{%2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneGet node attribute.Get tree from node.7Make product node from node attribute and product tree.&Push new tree into product right term.+Push new leaf node into product right term.1Add restriction into top product of product tree.6Add restriction into top product of product tree node.Node attribute Product tree Result node Current treeNew tree to push into right Result node Current treeNew leaf to push into right Result nodeProduct to restrictRestriction to addResult product)Target node which has product to restrictRestriction to add Result node 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone(|{ from d.}Unsafely generate flat { from untyped components.~Unsafely generate aggregated { from untyped components.Union binary operator on {Except binary operator on {Intersect binary operator on { Width of {.SQL to query table.*Generate normalized column SQL from table.Normalized column SQL-SQL string for nested-query and toplevel-SQL.SQL string for nested-qeury.SQL StringSQL for toplevel-SQL.SQL string for toplevel-SQL. Get qualifier Unqualify. Add qualifierAlias string from qualifierBinary operator to qualify.9Qualified expression from qualifier and projection index.From x SQL string into U. Width of x SubQUery.Get column SQL string of {.1Get qualified SQL string, like (SELECT ...) AS T0%Make untyped projection from columns..Make untyped projection from scalar sub-query..Make untyped projection from joined sub-query.ProjectionUnit width.Get column of ProjectionUnit. Width of v.Get column SQL string of v.)Get column SQL string list of projection.)Get column SQL string list of projection.Unsafely get SQL term from  Proejction.Unsafely generate r from SQL string list.6Show product tree of query into SQL. StringSQL result.Shows join product of query.Compose SQL String from .Compose WHERE clause from .Compose HAVING clause from .2|Typed d metadataResult {}~sub-query SQL and top-level SQLSource r Column indexResult SQL stringSource rResult SQL string listSource rResult SQL string list!SQL string list specifies columnsResult r"stuvwxyz{|}~"{|}~yzxwvuts2|}~&2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneC&Monad type to qualify SQL table forms.8Run qualify monad with initial state to get only result.*Generated new qualifier on internal state.Lift to Get qualifyed table form query.Query to qualifyResult with updated state'2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneJoinContext type for QueryJoin.Initial .Update product of .Update product of .6Finalize context to extract accumulated query product. 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneC. type to require query generate configuration.Run  to expand with configurationLift to .Read configuration. 2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone *Relation type with place-holder parameter p and query result type r.&Thin monad type for untyped structure.Run - monad with initial state to get only result.Get qualifyed table form query.Read configuration.AUnsafely type qualified subquery into record typed relation type.&Sub-query Qualify monad from relation.9Simplify placeholder type applying left identity element.:Simplify placeholder type applying right identity element.Generate SQL string from  with configuration.SQL string from .Dump internal structure tree.  2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4Projection type for row list.Unsafely get SQL term from  Proejction.)Get column SQL string list of projection. Width of r. Unsafely get untyped projection.Unsafely generate r# from qualified (joined) sub-query.Unsafely generate r from scalar sub-query.Unsafely generate unqualified r from d.Unsafely generate r from SQL expression strings.Unsafely trace projection path.&Trace projection path to get narrower r.&Trace projection path to get narrower r. From a type to a type.&Trace projection path to get narrower r. From a type to a* type. Leaf type of projection path is a.Composite nested a on projection phantom type. Cast into a on projection phantom type.Unsafely cast context type tag.$Unsafely lift to aggregated context.Unsafely down to flat context.>Unsafely get SQL string expression of not null key projection.Projectable fmap of r type.Projectable ap of r type.Make row list projection from r list.Make row list projection from {.IMap projection show operatoions and concatinate to single SQL expression.Source rResult SQL string listSource rProjection path Narrower rSource r. a typeProjection path Narrower r. a type resultSource r. a typeProjection path. a type leaf Narrower r. a type resultrr 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone Type for query suffix wordsExpand query suffix words%Generate prefix string of update SQL.`Generate update SQL by specified key and table. Columns name list of table are also required.`Generate update SQL by specified key and table. Columns name list of table are also required.,Generate update SQL specified by single key.%Generate prefix string of insert SQL."Generate records chunk insert SQL.0Generate size measured records chunk insert SQL.Generate insert SQL.IGenerate all column delete SQL by specified table. Untyped table version.2Generate all column delete SQL by specified table.  Table nameColumn name list to updateKey column name list Result SQL Table nameColumn name listKey column indexes Result SQLTable metadata Key columns Result SQLRecords count to insertColumns selector to insertTable metadata Result SQLColumns selector to insertTable metadata#Chunk size threshold (column count)%Result SQL and records count of chunkColumns selector to insertTable metadata Result SQLTable metadata Result SQL 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone345_*Weaken applicative functor on projections. Method like  .Weaken functor on projections. Method like  .)Zipping except for identity element laws.Interface to control a of phantom type in projections."Cast projection phantom type into a.Compose nested a phantom type on projection.BPlaceholder parameter type which has real parameter type arguemnt p.$Binary operator type for SQL String.+Interface to get SQL term from projections.=Unsafely generate SQL expression term from projection object.(Interface to project SQL terms unsafely.+Unsafely project from SQL expression terms.7Unsafely project from SQL strings. String interface of .!Unsafely Project single SQL term.8Unsafely Project single SQL string. String interface of .)Polymorphic projection of SQL null value.JGenerate polymorphic projection of SQL constant values from Haskell value.)Polymorphic proejction of SQL true value.*Polymorphic proejction of SQL false value.:Polymorphic proejction of SQL set value from Haskell list.WUnsafely generate SQL expression string from projection object. String interface of .9Unsafely make projection unary operator from SQL keyword.EUnsafely make projection binary operator from string binary operator. MUnsafely make compare projection binary operator from string binary operator. NUnsafely make numrical projection binary operator from string binary operator.#Compare operator corresponding SQL = .#Compare operator corresponding SQL < .#Compare operator corresponding SQL <= .#Compare operator corresponding SQL > .#Compare operator corresponding SQL >= .#Compare operator corresponding SQL <> .#Logical operator corresponding SQL AND .#Logical operator corresponding SQL OR .#Logical operator corresponding SQL NOT .#Logical operator corresponding SQL EXISTS .'Concatinate operator corresponding SQL || .'Concatinate operator corresponding SQL || . Maybe type version.*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE .*String-compare operator corresponding SQL LIKE . Maybe type version. IUnsafely make number projection binary operator from SQL operator string."Number operator corresponding SQL + ."Number operator corresponding SQL - .'Number operator corresponding SQL /// ."Number operator corresponding SQL * .-Number negate uni-operator corresponding SQL -.!Number fromIntegral uni-operator.:Unsafely show number into string-like type in projections."Number operator corresponding SQL + ."Number operator corresponding SQL - .'Number operator corresponding SQL /// ."Number operator corresponding SQL * .-Number negate uni-operator corresponding SQL -.!Number fromIntegral uni-operator.:Unsafely show number into string-like type in projections..Search case operator correnponding SQL search CASE . Like, 1CASE WHEN p0 THEN a WHEN p1 THEN b ... ELSE c ENDSame as , but you can write like  whenlist   elseclause.Null default version of ..Simple case operator correnponding SQL simple CASE . Like, 1CASE x WHEN v THEN a WHEN w THEN b ... ELSE c ENDUncurry version of , and you can write like ...   elseclause.Null default version of ."Binary operator corresponding SQL IN .Operator corresponding SQL IS NULL% , and extended against record types.Operator corresponding SQL NOT (... IS NULL)$ , and extended against record type. /Operator from maybe type using record extended isNull. RANK() term.  DENSE_RANK() term.  ROW_NUMBER() term. PERCENT_RANK() term. CUME_DIST() term..Unsafely add placeholder parameter to queries."Unsafely get placeholder parameterNo placeholder semantics)Unsafely cast placeholder parameter type.;Provide scoped placeholder and return its parameter object.LProvide scoped placeholder and return its parameter object. Monadic version.Zipping projections.Binary operator the same as .Same as . other than using inferred record constructor.Compose projection path 6 which has record result type using applicative style. Compose seed of projection path  which has record result type.Compose record type r using applicative style.Compose seed of record type r.Compose record type  using applicative style.Compose seed of record type .LZipping except for identity element laws against placeholder parameter type.Control phantom a type in projection type r.Control phantom a type in placeholder parameters.Unsafely get SQL term from  Proejction.Unsafely make r from SQL terms.Unsafely make r from SQL terms.Unsafely make r from SQL terms.lSource projection objectResult SQL expression string.SQL expression stringsResult projection objectSQL expression stringsResult projection objectSource projection objectResult SQL expression string.    ! Error tagEach when clausesElse result projectionResult projectionEach when clausesElse result projectionResult projectionEach when clausesElse result projectionResult projectionEach when clausesResult projectionProjection value to matchEach when clausesElse result projectionResult projection4Projection value to match and each when clauses listElse result projectionResult projectionProjection value to matchEach when clausesResult projection "    #$%&P     P     c    ! "    #$%&2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone34573Interface to run recursively identity element laws.Interface to compose phantom a nested type.8Unsafely make aggregation uni-operator from SQL keyword.Aggregation function COUNT.Aggregation function SUM.Aggregation function SUM.Aggregation function AVG. Aggregation function AVG.!Aggregation function MAX."Aggregation function MAX.#Aggregation function MIN.$Aggregation function MIN.%Aggregation function EVERY.&Aggregation function ANY.'Aggregation function SOME.(3Get narrower projection along with projection path.)6Get narrower projection along with projection path a phantom functor is -ed.*pGet narrower projection along with projection path and project into result projection type. Source record a* phantom functor and projection path leaf a functor are join-ed.+YGet narrower projection with flatten leaf phantom Maybe types along with projection path.,YGet narrower projection with flatten leaf phantom Maybe types along with projection path.- Specialize  for  type.'>Base case definition to run recursively identity element laws.(Run right identity element law.)Run left identity element law.*Not a type is not processed.+Compose a! type in projection phantom type., !"#$%&'(Source projectionProjection pathNarrower projected object)Source r. a typeProjection pathNarrower projected object. a type result*Source r. a phantom typeProjection path. a type leafNarrower projected object. a phantom type result+Source r. a phantom typeProjection path Narrower r . Flatten a phantom type,Source r. a phantom typeProjection path&Narrower flatten and projected object.-'()*+-. !"#$%&'()*+,-+()*, "!$#%&'-, !"#$%&'()*+,-'()*+-.()*,2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457.(Window specification building interface./Add  PARTITION BY term into context.0,Aggregated query building interface extends 5.1Add GROUP BY1 term into context and get aggregated projection.3'Lift interface from base qualify monad.4Lift from qualify monad q into 5* m. Qualify monad qualifies table form SubQuery.5Query building interface.6Specify duplication.7Add restriction to last join.8+Join sub-query with place-holder parameter p. query result is not a.9+Join sub-query with place-holder parameter p. Query result is a.:Restrict context interface; Add restriction to this context.<'Specify ALL attribute to query context.=,Specify DISTINCT attribute to query context.>6Add restriction to last join. Projection type version.?-Add restriction to this not aggregated query.@MAdd restriction to this aggregated query. Aggregated Projection type version../01Projection to add into group by0Result context and aggregated projection | Add GROUP BYS term into context and get aggregated projection. Non-traditional group-by version.27Key to aggretate for non-traditional group-by interface(Result context and aggregated projection34567r which represent restrictionRestricted query context89:;r which represent restrictionRestricted query context<=>?@/./0123456789:;<=>?@34:;56789012./<=>?@ ./0123456789:;<=>?@/2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357CA/Context monad type to build partition keys set.B.Context monad type to build grouping set list.C/Context monad type to build grouping power set.D0Context monad type to build single grouping set.E)Context type building partition keys set.F&Context type building power group set.G)Context type building grouping sets list.H'Context type building one grouping set.I0Type to accumulate aggregating context. Type ac is aggregating-context type like aggregating key set building, aggregating key sets set building and partition key set building. Type at is aggregating term type.JLift to I.KRun I to get terms list.L3Specify key of single grouping set from Projection.M#Specify key of single grouping set.N)Finalize and specify single grouping set.O)Specify key of rollup and cube power set.P0Finalize grouping power set as rollup power set.Q.Finalize grouping power set as cube power set.RFinalize grouping set list.0Partition clause instance1Aggregated query instance.2 Aggregated 5.3 Aggregated 3.4 Aggregated :.ABCDEFGHI5J67K8LMNO9PQR01234ABCDEFGHIJKLMNOPQRIJHGFEKDCBALMNOPQRABCDEFGHI5J67K8LMNO9PQR012342013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457C:(Ordering term projection type interface.S-Type to accumulate ordering context. Type c* is ordering term projection context type.TLift to S.;Add ordering terms.UAdd ordering terms.VAdd ascendant ordering term.WAdd descendant ordering term.XRun S to get -<r is ordering term.=. with ordering.>0 with ordering.?5 with ordering.@3 with ordering.A: with ordering.:BSCT;Order directionOrdering terms to addResult context with orderingUOrdering terms to addOrder directionResult context with orderingVOrdering terms to addResult context with orderingWOrdering terms to addResult context with orderingX<=>?@A-STUVWXST-UVWX:BSCT;UVWX<=>?@A2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357CYTarget of assignment.Z.Type to accumulate assigning context. Type r is table record type.[Lift to Z\Add an assignment.]Add and assginment.^Run Z to get )D3 with assigning.E: with assigning. YZF[G\]^DEYZ[\]^Z[\]Y^ YZF[G\]^DE]2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone_6Target register monad type used from insert statement.`Run InsertStatement._`_`_`_`2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357Ca/Type to accumulate query restrictions. Type cT is context tag of restriction building like Flat (where) or Aggregated (having).bLift to aHAdd whole query restriction.cRun a to get I Resticted 0 instance.J Restricted 5 instance.K Restricted 3 instance.L: instance. aMbHcIJKLabcabcaMbHcIJKL2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357d<RestrictedStatement type synonym. Projection record type r must be the same as a type parameter r.eIRestrict only monad type used from update statement and delete statement.fRun e to get .defdefedfdef2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357gAssignStatement type synonym. Specifying assignments and restrictions like update statement. Projection record type must be the same as Target type parameter r.hHTarget update monad type used from update statement and merge statement.iRun h.ghighihgighi2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNonej.InsertTarget type with place-holder parameter p and projection record type r.k.UpdateTarget type with place-holder parameter p and projection record type r.l-Restriction type with place-holder parameter p and projection record type r.m Finalize Restrict monad and generate l.n Finalize Restrict monad and generate l with place-holder parameter poSQL WHERE clause S string from l.p Finalize Target monad and generate k.q Finalize Target monad and generate k with place-holder parameter p.rLift l to k . Update target columns are all.sLift l to k7. Update target columns are all. With placefolder type p.t Finalize Restrict monad and generate k . Update target columns are all.u Finalize Restrict monad and generate k7. Update target columns are all. With placefolder type p.v SQL SET clause and WHERE clause S string from kw Finalize _ monad and generate j.x Finalize Target monad and generate k with place-holder parameter p.ySQL INSERT statement S string from jNShow where clause.jOkPlQmnRopqSTrstuvwxyUNjklmnopqrstuvwxylmnkpqrstujwxovyjOkPlQmnRopqSTrstuvwxyUN2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457CzV) type to accumulate join product context.{Lift to zW%Unsafely update join product context.X"Add last join product restriction.|(Unsafely join sub-query with this query.Y#Basic monadic join operation using 5.}Run z to get sZJoinable query instance. z[{WX|Attribute maybe or just{ to joinResult joined context and { result projection.Y}Z\]z{|}z{}| z[{WX|Y}Z\]2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone~.OrderedQuery monad type with placeholder type p!. Projection must be the same as S context type parameter c.PCore query monad type used from flat(not-aggregated) query and aggregated query.Extract  computation.~~~~2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457-Partition monad type for partition-by clause.Aggregated query type.  p r ==  ( p, r   r).Aggregated query monad type.Run  to get SQL with  computation.Run  to get { with  computation.?Operator to make window function result projection using built  monad.^ Restricted : instance. _ to runResult SQL string with  computation to runResult { with  computation`^ _`^2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357$Simple (not-aggregated) query type.  SimpleQuery' p r ==  ( p, r r).)Simple (not-aggregated) query monad type.%Lift from qualified table forms into .Run  to get SQL string with Qualify computation.Run  to get { with Qualify computation.a to runResult SQL string with Qualify computation SimpleQuery' to runResult { with Qualify computationa2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357CUnique query monad type./Unsafely join sub-query with this unique query.Run  SimpleQuery to get { with Qualify computation.bAttribute maybe or just{ to joinResult joined context and { result projection.c to runResult { with Qualify computationbc2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4-/Unique relation type to compose scalar queries.9Restriction function type for direct style join operator.Simple  from d.Infered .Interface to derive d type object.$Join sub-query. Query result is not a. Join sub-query. Query result is a. The combinations of  and  express inner joins, left outer joins, right outer joins, and full outer joins. Here is an example of a right outer join:  outerJoin = relation $ do e <- queryMaybe employee d <- query department on $ e ?! E.deptId' .=. just (d ! D.deptId') return $ (,) |$| e |*| d List sub-query, for IN and EXIST with place-holder parameter p.List sub-query, for IN and EXIST. Finalize  monad and generate  with place-holder parameter p. Finalize  monad and generate . Finalize  monad and geneate  with place-holder parameter p. Finalize  monad and geneate .d9Basic direct join operation with place-holder parameters./Direct inner join with place-holder parameters.4Direct left outer join with place-holder parameters.5Direct right outer join with place-holder parameters.4Direct full outer join with place-holder parameters.eBasic direct join operation.Direct inner join.Direct left outer join.Direct right outer join.Direct full outer join.(Apply restriction for direct join style.Union of two relations.%Union of two relations. Not distinct.Subtraction of two relations.+Subtraction of two relations. Not distinct.Intersection of two relations.,Intersection of two relations. Not distinct.4Union of two relations with place-holder parameters.BUnion of two relations with place-holder parameters. Not distinct.:Subtraction of two relations with place-holder parameters.HSubtraction of two relations with place-holder parameters. Not distinct.;Intersection of two relations with place-holder parameters.IIntersection of two relations with place-holder parameters. Not distinct.!Unsafely specify unique relation.Discard unique attribute.f#Basic monadic join operation using 5.2Join unique sub-query with place-holder parameter p.2Join unique sub-query with place-holder parameter p. Query result is a. Finalize  monad and generate . Aggregated .-Scalar sub-query with place-holder parameter p.Scalar sub-query.4ghijdLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationeLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationLeft query to joinRight query to joinJoin restrictionsResult joined relationklmf**3ghijdeklmf2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3zUntype interface for typed no-result type statments with single type parameter which represents place-holder parameter p.(Delete type with place-holder parameter p.InsertQuery type."Insert type to insert record type a.(Update type with place-holder parameter p.Update type with key type p and update record type a. Columns to update are record columns other than key columns, So place-holder parameter type is the same as record type a.'Query type with place-holder parameter p and query result type a.Unsafely make typed  from SQL string.From  into untyped SQL query string.From  into typed  with suffix SQL words.From  into typed .Unsafely make typed  from SQL string. Make typed  from d and key columns selector . Make typed ( object using derived info specified by  type.Unsafely make typed  from SQL string.$Make untyped update SQL string from d and k. Make typed  from >, d and k. Make typed  using P, d and k. Make typed  from >, derived table and g Make typed  from P, derived table and g Make typed  from d and l!. Update target is all column.Directly make typed  from d and Restrict/ monad context. Update target is all column.Directly make typed  from d and Restrict/ monad context. Update target is all column.Statement to use chunked insertSize to use chunked insertUnsafely make typed + from single insert and chunked insert SQL.Unsafely make typed  from single insert SQL. Make typed  from d and columns selector  with configuration parameter. Make typed  from d and columns selector .Table type inferred . Make typed  from >, d and monadic builded j object. Make typed  from d and monadic builded j object. Make typed  from >$, derived table and monadic builded _ object. Make typed  from P$, derived table and monadic builded _ object.Unsafely make typed  from SQL string.+Make untyped insert select SQL string from d,  and . Make typed  from columns selector d,  and  with configuration parameter. Make typed  from columns selector d,  and .Table type inferred .Unsafely make typed  from SQL string.$Make untyped delete SQL string from d and l. Make typed  from >, d and l. Make typed  from d and l. Make typed  from >, derived table and RestrictContext Make typed  from P, derived table and RestrictContextnShow delete SQL stringoShow insert SQL string.pShow insert SQL string.qShow update SQL stringrShow update SQL stringsShow query SQL stringHQuery SQL to type Typed resulttRestrict monad contextuvwxynopqrs<<9tuvwxynopqrs 2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4$Query restricted with specified key.+Query restricted with specified unique key.,Query restricted with specified primary key.+Query restricted with inferred primary key.Convert from Haskell type r into SQL value q" list expected by update form likeUPDATE  tableN SET c0 = ?, c1 = ?, ..., cn = ? WHERE key0 = ? AND key1 = ? AND key2 = ? ... using derived  RecordToSql proof object.Typed  using specified constraint key.Typed  using inferred primary key. inferred from table.-Unique key proof object which record type is a and key type is p. to add restriction.Result restricted -Unique key proof object which record type is a and key type is p. to add restriction.Result restricted .Primary key proof object which record type is a and key type is p. to add restriction.Result restricted  to add restriction.Result restricted d to updateKey with constraint c, record type r and columns type p Result typed Updated to update Result typed Update-Unique key proof object which record type is a and key type is p.Unique key value to specify.Result restricted (2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneR  !"%&'(012;<=>?@ABCDEFGHIJKPbcdr{      !"#$%&'()*+,-./0123589:;<=>?@LMNOPQRUVW\]ehjklmnopqrstuvwxy~!2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4C:Arrow type corresponding to )*Arrow type corresponding to )+Arrow type corresponding to ZArrow type corresponding to Arrow type corresponding to SArrow type corresponding to CArrow type corresponding to BArrow type corresponding to DArrow type corresponding to Arrow type corresponding to Arrow type corresponding to Arrow to build queries. Same as <. Arrow version. Same as =. Arrow version. Same as J. Arrow version. The result arrow is not injected by local projections. Same as N. Arrow version. The result arrow is not injected by any local projections. Same as 8N. Arrow version. The result arrow is not injected by any local projections.Same as 9N. Arrow version. The result arrow is not injected by any local projections.Same as U. Arrow version. The result arrow is designed to be injected by local projections.Same as U. Arrow version. The result arrow is designed to be injected by local projections.Same as  to pass this result to ^ operator. Arrow version. The result arrow is designed to be injected by local projections.Same as  to pass this result to ^ operator. Arrow version. The result arrow is designed to be injected by local projections.Same as G. Arrow version. Useful for no reference cases to local projections.Same as G. Arrow version. Useful for no reference cases to local projections.Same as X. Arrow version. The result arrow is designed to be injected by any local projection.Same as X. Arrow version. The result arrow is designed to be injected by any local projection.Same as G. Arrow version. Useful for no reference cases to local projections.Same as G. Arrow version. Useful for no reference cases to local projections.Same as J. Arrow version. The result arrow is not injected by local projections.Same as J. Arrow version. The result arrow is not injected by local projections.Same as >f. Arrow version. The result arrow is designed to be injected by local conditional flat-projections.Same as ?f. Arrow version. The result arrow is designed to be injected by local conditional flat-projections.Same as @l. Arrow version. The result arrow is designed to be injected by local conditional aggregated-projections.Same as 1Z. Arrow version. The result arrow is designed to be injected by local flat-projections.Same as j. Arrow version. The result arrow is designed to be injected by locally built arrow using placeholders. Same as C. Finalize query-building arrow instead of query-building monad.!Same as C. Finalize query-building arrow instead of query-building monad."Same as C. Finalize query-building arrow instead of query-building monad.#Same as C. Finalize query-building arrow instead of query-building monad.$Same as C. Finalize query-building arrow instead of query-building monad.%Same as 24. This arrow is designed to be injected by local 3.&Same as LE. This arrow is designed to be injected by local flat-projections.'Same as M4. This arrow is designed to be injected by local  AggregteKey.(Same as N<. This arrow is designed to be injected by locally built  AggregtingSet arrow.)Same as OE. This arrow is designed to be injected by local flat-projections.*Same as P. Finalize locally built .+Same as Q. Finalize locally built .,Same as R. Finalize locally built .-Same as UF. The result arrow is designed to be injected by local projections..Same as VF. The result arrow is designed to be injected by local projections./Same as WF. The result arrow is designed to be injected by local projections.0Same as /F. The result arrow is designed to be injected by local projections.1Same as 8. Make window function result projection using built  arrow.2Make YN into arrow which is designed to be injected by local projection assignees.3Same as  . Make 4 from assigning statement arrow using configuration.4Same as  . Make  from assigning statement arrow.5Same as  . Make 3 from restrict statement arrow using configuration.6Same as  . Make  from restrict statement arrow.Bz{|}     ~ !"#$%&'()*+,-./0123456a  !"%&'(012;<=>?@ABCDEFGHIJKPbcdr{      !"#$%&'()*+,-.035:;\]ehjklmnopqrstuvwxy~      !"#$%&'()*+,-./0123456:      !"#$%&'()*+,-./0123456Az{|}     ~ !"#$%&'()*+,-./01234561"2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357@N$&Rule template to infer constraint key.7#Rule template to infer primary key.8#Rule template to infer primary key.9#Rule template to infer primary key.:$Rule template to infer not-null key.;$Rule template to infer not-null key.<$Rule template to infer not-null key.Column projection path  template.Column projection path  and constraint key template.=Column projection path  templates.>SMake column projection path and constraint key templates using default naming rule.)Rule template to infer table derivations.4Template to define inferred entries from table type.?d and  templates.@Make TableDerivationH variable expression template from table name using default naming rule.AMake dH variable expression template from table name using default naming rule.BMake J variable expression template from table name using specified naming rule.CMake H variable expression template from table name using default naming rule.DMake template for  instance.Make template for record & instance using specified naming rule.ELMake templates about table and column metadatas using specified naming rule.FJMake templates about table and column metadatas using default naming rule.GRMake templates about table, column and haskell record using specified naming rule.HPMake templates about table, column and haskell record using default naming rule.ITemplate of derived primary .JTemplate of derived primary Update.K'SQL templates derived from primary key.LASQL templates derived from primary key using default naming rule. All templates about primary key.!All templates about not-null key.M>Generate all templtes about table using specified naming rule.N<Generate all templtes about table using default naming rule.OUnsafely inlining SQL string  in compile type.P8Extract param type and result type from defined RelationQInlining composed  in compile type.RnGenerate all templates against defined record like type constructor other than depending on sql-value type.'Constraint type Record typeKey typeIndexes specifies keyResult   declaration7 Record typeKey typeIndexes specifies key"Result constraint key declarations8configuration parameters Schema name Table name Column typePrimary key index&Declarations of primary constraint key9 Schema name Table name Column typePrimary key index&Declarations of primary constraint key: Record type Column indexResult ColumnConstraint declaration;configuration parameters Schema name Table nameNotNull key index&Declaration of not-null constraint key< Schema name Table nameNotNull key index&Declaration of not-null constraint key Record type Column declaration variable name0Column index expression in record (begin with 0) Column type"Column projection path declaration.May Constraint type and constraint object name Record type Column declaration variable name0Column index expression in record (begin with 0) Column type"Column projection path declaration=Record type nameColumn info list#Column projection path declarations>Record type nameColumn info list#Column projection path declarationsTable declaration variable name"Relation declaration variable name*Insert statement declaration variable name/InsertQuery statement declaration variable name Record typeTable and Relation declaration?Table declaration variable name"Relation declaration variable name*Insert statement declaration variable name/InsertQuery statement declaration variable name Record type'Table name in SQL ex. FOO_SCHEMA.table0 Column namesTable and Relation declaration@Table name stringResult var ExpATable name stringResult var ExpB2Configuration which has naming rules of templatesSchema name stringTable name stringResult var ExpCSchema name stringTable name stringResult var ExpDE$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarationsF$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarationsG$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarationsH$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarationsI#Variable name of result declarationParameter type of Record type of  expressionResult  declarationJ#Variable name of result declarationParameter type of UpdateRecord type of Updated expressionResult Update declarationK9Variable name of select query definition from primary key=Variable name of update statement definition from primary keyPrimary key type Record typeRelation expressionTable expressionResult declarationsLTable name of DatabasePrimary key type Record typeRelation expressionTable expressionResult declarations Schema nameTable name stringType of primary keyIndexes specifies primary keyResult declarationsM$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarationsN$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarationsOQuery parameter typeQuery result typeSQL string query to inlineVariable name for inlined queryResult declarationsP%Variable name which has Relation type7Extracted param type and result type from Relation typeQ"Top-level variable name which has  typeObject which has  typeConfiguration to generate SQLsuffix SQL words(Variable name to define as inlined queryResult declarationsRType constructor nameResult declaration789:;<=>?@ABCDEFGHIJKLMNOPQRMNOQGH789:;<=>?EFIJ@ABCKLDRP'789:;<=>?@ABCDEFGHIJKLMNOPQR,-.,-/,-0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvvwxyz{|}~C$$$$$$$$$$ C     C G A B        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~*+         !*!+!|!!u!e!d!f!!!! !^!_!!!Z![!!!!!!!!!!!!!`!a!b!S!6!!!!!!T!n!o!p!q!r!s!t!w!x!y!Q!!!!!!"""""""""""" "!"""#"$"%"&"'"(")"*"+","-"."/"0#1#2345#6#7#8#9#:;<=>?@34ABCDEFCGHICGJKCLMNCOPQRSTURSVWRSXYRSZ[\]^_\`^abcdebfdghRSij3klm3kno3kpq3krstuvwxyz34{|,}~?C,-Pacdly$$$$$$$$$34$$$$$$A$$$$$$9$8$$$$$%%%%%%%      D                   &&&&&&&'''''''          3434k     u| !"#$%&'()*+,-../0123456789:;<=>?! !@!A!B!C!D!E!F"G"H"I"J"K"L"M"N"O"P"QRrelat_0M8iq0xIyLv2gKR13snHhf$Database.Relational.Query.Constraint Database.Relational.Query.Scalar!Database.Relational.Query.ContextDatabase.Relational.Query.Pure#Database.Relational.Query.Pi.UnsafeDatabase.Relational.Query.Pi#Database.Relational.Query.ComponentDatabase.Relational.Query.Table$Database.Relational.Query.ProjectionDatabase.Relational.Query.Sub,Database.Relational.Query.Monad.Trans.Config(Database.Relational.Query.Monad.BaseTypeDatabase.Relational.Query.SQL%Database.Relational.Query.Projectable-Database.Relational.Query.ProjectableExtended%Database.Relational.Query.Monad.Class1Database.Relational.Query.Monad.Trans.Aggregating.Database.Relational.Query.Monad.Trans.Ordering/Database.Relational.Query.Monad.Trans.Assigning(Database.Relational.Query.Monad.Register1Database.Relational.Query.Monad.Trans.Restricting(Database.Relational.Query.Monad.Restrict&Database.Relational.Query.Monad.Assign Database.Relational.Query.Effect*Database.Relational.Query.Monad.Trans.Join$Database.Relational.Query.Monad.Type)Database.Relational.Query.Monad.Aggregate&Database.Relational.Query.Monad.Simple&Database.Relational.Query.Monad.Unique"Database.Relational.Query.RelationDatabase.Relational.Query.Type!Database.Relational.Query.DerivesDatabase.Relational.Query.ArrowDatabase.Relational.Query.TH&Database.Relational.Query.Internal.SQL&Database.Relational.Query.Internal.Sub*Database.Relational.Query.Internal.Product-Database.Relational.Query.Monad.Trans.Qualify/Database.Relational.Query.Monad.Trans.JoinStateDatabase.Relational.QueryMonadicRestrictedStatementAssignStatementpersi_857EII7yfGA58XbWu0KtAODatabase.Record.KeyConstraintUniqueNotNullPrimary ScalarDegreedefineScalarDegreePowerSetListSet OverWindowExists AggregatedFlatShowConstantTermsSQLshowConstantTermsSQL'ProductConstructorproductConstructorshowConstantTermsSQLPiunsafeExpandIndexespfmappapwidth<.>pidefinePidefineDirectPi'defineDirectPiid'fst'snd'HasConstraintKey constraintKeyKeyindexesunsafeDefineConstraintKeytableConstraint projectionKey uniqueKeyderivedUniqueKey Assignments Assignment AssignTerm AssignColumn OrderingTerms OrderingTerm OrderColumnOrderAscDesc AggregateKey AggregateElem AggregateSetAggregateBitKeyAggregateColumnRef DuplicationAllDistinctProductUnitSupport PUSupportedPUNotSupportedConfigproductUnitSupportchunksInsertSizeschemaNameModenormalizedTableNameverboseAsCompilerWarning nameConfigSchemaNameModeSchemaQualifiedSchemaNotQualified NameConfig recordConfigrelationVarName ColumnSQL columnSQL columnSQL'showsColumnSQL defaultConfigshowsDuplicationaggregateColumnRefaggregatePowerKeyaggregateGroupingSetaggregateRollup aggregateCube aggregateSetsaggregateEmptycomposeGroupBycomposePartitionByaggregateKeyProjectionaggregateKeyElementunsafeAggregateKeycomposeOrderBy composeSets composeValues composeOverTableDerivable derivedTableTableUntypedname'width'columns'!unTypename shortNamecolumnsindextoMaybetable Projection JoinProductQueryProductNode QueryProductUntypedProjectionProjectionUnit Qualified QualifierSubQuery fromTable flatSubQueryaggregatedSubQueryunionexcept intersectunitSQLshowSQLtoSQL qualifier unQualifyqualify queryWidthcolumnuntypedProjectionFromColumns#untypedProjectionFromScalarSubQuery#untypedProjectionFromJoinedSubQuerywidthOfUntypedProjectioncolumnsOfUntypedProjectionprojectionColumnsunsafeProjectionStringSqlunsafeProjectFromColumns composeWhere composeHaving QueryConfigrunQueryConfig queryConfigaskQueryConfigRelationConfigureQueryconfigureQuery qualifyQuery askConfigunsafeTypeRelationuntypeRelationrightPhleftPhsqlFromRelationWithsqlFromRelationdumpListProjectionunsafeStringSqluntypeunsafeFromQualifiedSubQueryunsafeFromScalarSubQueryunsafeFromTableunsafeFromSqlTermspiMaybepiMaybe' flattenMaybejustunsafeChangeContextunsafeToAggregated unsafeToFlatunsafeStringSqlNotNullMaybelistunsafeListFromSubQueryunsafeStringSqlList QuerySuffixshowsQuerySuffixupdatePrefixSQL updateSQL'updateOtherThanKeySQL'updateOtherThanKeySQLinsertPrefixSQLinsertSizedChunkSQL insertSQLdeletePrefixSQL'deletePrefixSQLProjectableApplicative|*|ProjectableFunctor|$|ProjectableIdZipleftIdrightIdProjectableMaybe PlaceHoldersSqlBinOpProjectableShowSqlunsafeShowSql'SqlProjectableunsafeProjectSqlTerms'unsafeProjectSqlTermsunsafeProjectSql'unsafeProjectSqlunsafeValueNullvalue valueTrue valueFalsevalues unsafeShowSql unsafeUniOp unsafeBinOp.=..<..<=..>..>=..<>.and'or'not'exists.||.?||?like' likeMaybe'like likeMaybe.+..-../..*.negate' fromIntegral'showNum?+??-??/??*? negateMaybefromIntegralMaybe showNumMaybe caseSearch casesOrElsecaseSearchMaybecase' casesOrElse' caseMaybein' isNothingisJust fromMayberank denseRank rowNumber percentRankcumeDistunsafeAddPlaceHoldersunsafePlaceHoldersunitPlaceHolder placeholder' placeholder projectZip><ipfmapProjectableRunIdsZiprunIdsProjectableFlattenMaybeflattenunsafeAggregateOpcountsumMaybesum'avgMaybeavgmaxMaybemax'minMaybemin'everyany'some'?!?!?flattenPiMaybe!?? flattenPhMonadPartition partitionByMonadAggregategroupBygroupBy' MonadQualify liftQualify MonadQuerysetDuplication restrictJoinquery' queryMaybe' MonadRestrictrestrictall'distinctonwhereshavingPartitioningSetAggregatingSetListAggregatingPowerSetAggregatingSetPartitioningSetTAggregatingPowerSetTAggregatingSetListTAggregatingSetT Aggregatings aggregatingsextractAggregateTermskeykey'setbkeyrollupcube groupingSets Orderings orderingsorderByascdescextractOrderingTerms AssignTarget Assignings assigningsassignTo<-#extractAssignmentsRegisterextract Restrictings restrictingsextractRestrictRestrictAssign InsertTarget UpdateTarget Restriction restriction restriction'sqlWhereFromRestriction updateTarget updateTarget'liftTargetAllColumnliftTargetAllColumn'updateTargetAllColumnupdateTargetAllColumn'sqlFromUpdateTarget insertTarget insertTarget'sqlFromInsertTarget QueryJoinjoin'unsafeSubQueryWithAttrextractProduct OrderedQuery QueryCore extractCoreWindowAggregatedQueryQueryAggregate toSubQueryover SimpleQuery QuerySimplesimple QueryUniqueunsafeUniqueSubQueryUniqueRelationJoinRestrictionderivedRelationtableOfquery queryMaybe queryList' queryList relation'relationaggregateRelation'aggregateRelationinner'left'right'full'innerleftrightfullon'unionAll exceptAll intersectAllunion' unionAll'except' exceptAll' intersect' intersectAll' unsafeUniqueunUnique uniqueQuery'uniqueQueryMaybe'uniqueRelation'aggregatedUnique queryScalar' queryScalarUntypeableNoFetch untypeNoFetchDelete untypeDelete InsertQueryuntypeInsertQueryInsert untypeInsert chunkedInsertUpdate untypeUpdate KeyUpdate updateKeyuntypeKeyUpdateQuery untypeQueryunsafeTypedQueryrelationalQuerySQLrelationalQuery'relationalQueryunsafeTypedKeyUpdatetypedKeyUpdatetypedKeyUpdateTableunsafeTypedUpdate updateSQL typedUpdate' typedUpdatederivedUpdate' derivedUpdatetypedUpdateAllColumnrestrictedUpdateAllColumnrestrictedUpdateTableAllColumnuntypeChunkInsertchunkSizeOfInsertunsafeTypedInsert'unsafeTypedInsert typedInsert' typedInsert derivedInserttypedInsertValue'typedInsertValuederivedInsertValue'derivedInsertValueunsafeTypedInsertQueryinsertQuerySQLtypedInsertQuery'typedInsertQueryderivedInsertQueryunsafeTypedDelete deleteSQL typedDelete' typedDeletederivedDelete' derivedDelete specifiedKeyuniqueprimary'primaryupdateValuesWithKeyupdateByConstraintKey primaryUpdatederivedUniqueRelationQueryA queryExists queryExists' queryListU queryListU' queryScalarU queryScalarU'assigndefineHasPrimaryKeyInstance%defineHasPrimaryKeyInstanceWithConfig"defineHasPrimaryKeyInstanceDefaultdefineHasNotNullKeyInstance%defineHasNotNullKeyInstanceWithConfig"defineHasNotNullKeyInstanceDefault defineColumnsdefineColumnsDefaultdefineTableTypesderivationExpDefaulttableVarExpDefaultrelationVarExprelationVarExpDefault defineProductConstructorInstancedefineTableTypesWithConfigdefineTableTypesDefaultdefineTableTypesAndRecord defineTableTypesAndRecordDefaultdefinePrimaryQuerydefinePrimaryUpdatedefineSqlsWithPrimaryKeydefineSqlsWithPrimaryKeyDefault defineTabledefineTableDefaultunsafeInlineQuery reifyRelation inlineQuerymakeRelationalRecordDefault StringSQL stringSQLbaseGHC.BaseString showStringSQL rowStringSQLrowPlaceHolderStringSQLrowConsStringSQL listStringSQL$fScalarDegreeMaybe intExprSQLescapeStringToSqlExpr stringExprSQL$fShowConstantTermsSQL(,)$fShowConstantTermsSQLMaybeMaybe$fShowConstantTermsSQLUTCTimetime_FTheb6LSxyX1UABIbBXRfnData.Time.Clock.UTCUTCTime$fShowConstantTermsSQLZonedTimeData.Time.LocalTime.LocalTime ZonedTime$fShowConstantTermsSQLLocalTime LocalTime$fShowConstantTermsSQLTimeOfDayData.Time.LocalTime.TimeOfDay TimeOfDay$fShowConstantTermsSQLDayData.Time.Calendar.DaysDay$fShowConstantTermsSQLDoubleghc-prim GHC.TypesDouble$fShowConstantTermsSQLFloatFloat$fShowConstantTermsSQLBoolBool$fShowConstantTermsSQLCharChar$fShowConstantTermsSQLTexttext_HmqVQnZSpjaC156ABqPhneData.Text.Internal.LazyText$fShowConstantTermsSQLText0Data.Text.Internal $fShowConstantTermsSQLByteStringbytes_6VWy06pWzJq9evDvK2d4w6Data.ByteString.Lazy.Internal ByteString!$fShowConstantTermsSQLByteString0Data.ByteString.Internal$fShowConstantTermsSQL[]$fShowConstantTermsSQLIntInt$fShowConstantTermsSQLInt64GHC.IntInt64$fShowConstantTermsSQLInt32Int32$fShowConstantTermsSQLInt16Int16$fShowConstantTermsSQLInt8Int8$fProductConstructor(->) intTermsSQLstringTermsSQL floatTermsconstantTimeTermsshowMaybeTermsPi'unsafeCastRecordWidthmap definePi'Database.Record.PersistablePersistableRecordWidthLeftestMapunsafePiAppend'unsafePiAppend unsafeCastsnd'' KeyConstraintunsafeReturnKey mapConstraint ColumnSQL'stringFromColumnSQL ColumnRefRollupCube GroupingSetsshowsAggregateColumnRefcommaedpCommashowsAggregateBitKey$fShowNameConfig$fShowColumnSQL'$fFunctorColumnSQL' columnArrayQueryRestrictionuntypeProjectionNode ProductTreeNodeAttrBinOpSetOptypedProjection$fFunctorQualifiedFunctorLeafJoinJust'Columns NormalizedScalarBinUnionExcept IntersectnodeAttrnodeTreenode growRight growProductrestrictProduct'restrictProductfromTableToSQLfromTableToNormalizedSQL normalizedSQLtoSQLs showQualifier columnFromIdqualifiedSQLas qualifiedFormwidthOfProjectionUnitcolumnOfProjectionUnitcolumnOfUntypedProjectionshowsQueryProductshowsJoinProductcomposeRestrict showsSetOp' showsSetOpsetBinselectPrefixSQL showUnitSQLcolumnN asColumnNprojectionUnitFromColumns projectionUnitFromScalarSubQueryunitUntypedProjectionQualifyevalQualifyPrimenewAliasAliasId JoinContextprimeJoinContextupdateProduct' updateProduct joinProductproducttrans_GZTjP9K5WFq01xC9BAGQpFControl.Monad.Trans.ReaderReaderTunsafeCastPlaceHolder$fShowRelation unsafeProjectListSubnotNullMaybeConstraintinsertChunkSQL<*>fmap compareBinOp monoBinOp monoBinOp'unsafeCastPlaceHolders$fProjectableApplicativePi$fProjectableFunctorPi"$fProjectableApplicativeProjection$fProjectableFunctorProjection$$fProjectableApplicativePlaceHolders $fProjectableFunctorPlaceHolders$fProjectableIdZipPlaceHolders$fProjectableMaybeProjection$fProjectableMaybePlaceHolders$fProjectableShowSqlProjection$fSqlProjectableProjection$fSqlProjectableProjection0$fSqlProjectableProjection1OperatorProjectableunsafeFlatUniOp unsafeLikeunsafeCastProjectable whensClauseunsafeUniTermFunctionunsafeProjectPlaceHolder'unsafeProjectPlaceHolder$fOperatorProjectableProjection $fOperatorProjectableProjection0$fProjectableRunIdsZipaa$fProjectableRunIdsZip(,)b$fProjectableRunIdsZip(,)b0#$fProjectableFlattenMaybeMaybeMaybe$fProjectableFlattenMaybeMaybebAggregatedContext$fAggregatedContextOverWindow$fAggregatedContextAggregated$fMonadQualifyqq$fMonadPartitioncAggregatings$fMonadAggregateAggregatings$fMonadQueryAggregatings$fMonadQualifyqAggregatings$fMonadRestrictcAggregatingsunsafeAggregateWithTerm aggregateKeyextractTermList finalizePowerProjectableOrderingupdateOrderBys$fProjectableOrderingProjection$fMonadPartitioncOrderings$fMonadAggregateOrderings$fMonadQueryOrderings$fMonadQualifyqOrderings$fMonadRestrictrcOrderings orderTerms$fMonadQualifyqAssignings$fMonadRestrictcAssigningstargetProjectionupdateRestriction$fMonadAggregateRestrictings$fMonadQueryRestrictings$fMonadQualifyqRestrictings$fMonadRestrictcRestrictings$fShowRestrictionrunRestriction_runUpdateTargetupdateAllColumn$fShowUpdateTargetControl.Monad.Trans.State.LazyStateT updateContextupdateJoinRestriction queryWithAttr$fMonadQueryQueryJoin$fMonadQualifyqQueryJoin$fMonadTransQueryJoin$fMonadRestrictFlatRestrictings extractWindowjoin_uniqueQueryWithAttrplaceHoldersFromRelation queryList0 addUnitPHunsafeLiftAppend liftAppend liftAppend' $fShowDelete$fShowInsertQuery $fShowInsert $fShowUpdate$fShowKeyUpdate $fShowQuery targetTablerestrictedTable$fUntypeableNoFetchDelete$fUntypeableNoFetchUpdate$fUntypeableNoFetchInsertQuery$fUntypeableNoFetchInsertqueryA runQueryArunAofMunsafeQueryListunsafeQueryList'unsafeQueryScalarunsafeQueryScalar'defineHasConstraintKeyInstancecolumnTemplate'columnTemplatedefineTableDerivableInstancedefineTableDerivations*defineProductConstructorInstanceWithConfigdefineWithPrimaryKeydefineWithNotNullKeyWithConfigtableSQLderivationVarNameDefaulttableVarNameDefault