V(O      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmn o p q r 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"(#2014 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownSafeO!String wrap type for SQL strings.PO from Q.RO to Q.SRow String of SQL values.TPlace holder row String of SQL.UList String of SQL.VList String of SQL.OPRSTUVOPRSTUVOPRSTUV2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone35*Constraint which represents scalar degree. instance templates.WW2013 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.X!Constant integral SQL expression.YEscape Q$ for constant SQL string expression.ZFrom Q% into constant SQL string expression.String interface of  .[$Constant SQL terms of '(a, b)' type.\Constant SQL terms of ]# type. Width inference is required.^Constant SQL terms of _.`Constant SQL terms of a.bConstant SQL terms of c.dConstant SQL terms of e(. Caution for floating-point error rate.fConstant SQL terms of g(. Caution for floating-point error rate.hConstant SQL terms of i.jConstant SQL terms of k.lConstant SQL terms of m.nConstant SQL terms of o.pConstant SQL terms of q.rConstant SQL terms of s.tConstant SQL terms of Q.uConstant SQL terms of vU. Use this carefully, because this is architecture dependent size of integer type.wConstant SQL terms of x.yConstant SQL terms of z.{Constant SQL terms of |.}Constant SQL terms of ~.$ProductConstructor instance of pair.! XYZ[\^`bdfhjlnprtuwy{}    XYZ[\^`bdfhjlnprtuwy{}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. ] phantom functor is -ed.Compose projection path. ] 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.DD/ type to customize names of expanded templates.HColumn SQL string typeSimple wrap typeIH from stringJH from OString from ColumnSQLKStringSQL from ColumnSQLLDefault configuration.M%Compose duplication attribute string.N Single term aggregation element.OKey of aggregation power set.PSingle grouping set.QRollup aggregation element.RCube aggregation element.SGrouping sets aggregation.TEmpty aggregation.U0Compose GROUP BY clause from AggregateElem list.V9Compose PARTITION BY clause from AggregateColumnRef list.WExtract typed projection from 3.XExtract untyped term from 3.Y5Unsafely bind typed-projection and untyped-term into 3.Z*Compose ORDER BY clause from OrderingTerms[Compose SET clause from ).\Compose VALUES clause from ).]Compose OVER (PARTITION BY ... ) clause.G)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]5)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]5HIJKDEFG>?@ABCL;<=89:M7654NTOPQRSUV3WXY012/.-Z,+*)[\]0)*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone^Inference rule of ` existence.`Phantom typed table typeaUntyped typed table typebName string of table in SQLcWidth of tableColumn name strings in SQLdColumn name strings in SQLe,Column name string in SQL specified by indexf Untype table.gName string of table in SQLh)Not qualified name string of table in SQLiWidth of tablejColumn name strings in SQLk,Column name string in SQL specified by indexlCast phantom type into ] type.m+Unsafely generate phantom typed table type.^_`abcde Column indexColumn name String in SQLfghijk Column indexColumn name String in SQLlm^_`abcdefghijklmabcde`fghijkml^_^_`abcdefghijklm$2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNoneType for restriction of query.n=Phantom typed projection. Projected into Haskell record type t.Discard projection value type oType for join product of query.pProduct node specialized by w.qProduct tree specialized by w..Product node. node attribute and product tree.KProduct tree type. Product tree is constructed by left node and right node.node attribute for product.r'Untyped projection. Forgot record type.sProjection structure unittQualified query.uQualifier type.wSub-query typeSet binary operators Set operatorsUnsafely type projection value. instance of t%nopqrstuvw#nopqrstuvwnopqrstuvw%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(xw from `.yUnsafely generate flat w from untyped components.zUnsafely generate aggregated w from untyped components.{Union binary operator on w|Except binary operator on w}Intersect binary operator on w~ Width of w.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 t SQL string into Q. Width of t SubQUery.Get column SQL string of w.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 r.Get column SQL string of r.)Get column SQL string list of projection.)Get column SQL string list of projection.Unsafely get SQL term from  Proejction.Unsafely generate n 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 .2xTyped ` metadataResult wyz{|}~sub-query SQL and top-level SQLSource n Column indexResult SQL stringSource nResult SQL string listSource nResult SQL string list!SQL string list specifies columnsResult n"opqrstuvwxyz{|}~"wxyz{|}~uvtsrqpo2xyz{|}~&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 n. Unsafely get untyped projection.Unsafely generate n# from qualified (joined) sub-query.Unsafely generate n from scalar sub-query.Unsafely generate unqualified n from `.Unsafely generate n from SQL expression strings.Unsafely trace projection path.&Trace projection path to get narrower n.&Trace projection path to get narrower n. From ] type to ] type.&Trace projection path to get narrower n. From ] type to ]* type. Leaf type of projection path is ].Composite nested ] on projection phantom type. Cast into ] 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 n type.Projectable ap of n type.Make row list projection from n list.Make row list projection from w.IMap projection show operatoions and concatinate to single SQL expression.Source nResult SQL string listSource nProjection path Narrower nSource n. ] typeProjection path Narrower n. ] type resultSource n. ] typeProjection path. ] type leaf Narrower n. ] type resultnn 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 ] of phantom type in projections."Cast projection phantom type into ].Compose nested ] 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 parameter No 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 n using applicative style. Compose seed of record type n. Compose record type  using applicative style. Compose seed of record type . LZipping except for identity element laws against placeholder parameter type.Control phantom ] type in projection type n.Control phantom ] type in placeholder parameters.Unsafely get SQL term from  Proejction.Unsafely make n from SQL terms.Unsafely make n from SQL terms.Unsafely make n 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 ] nested type.Projection interface.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.$^Get narrower projection along with projection path and project into result projection type.%bGet narrower projection along with projection path and project into result projection type. ] phantom functor is -ed.&pGet narrower projection along with projection path and project into result projection type. Source record ]* phantom functor and projection path leaf ] functor are join-ed.'YGet narrower projection with flatten leaf phantom Maybe types along with projection path.(Get narrower projection with flatten leaf phantom Maybe types along with projection path and project into result projection type.) Specialize  for  type. >Base case definition to run recursively identity element laws.!Run right identity element law."Run left identity element law.#Not ] type is not processed.$Compose ]! type in projection phantom type.% Project from n into n.&&' !"#()*$Source projectionProjection pathNarrower projected object%Source n. ] typeProjection pathNarrower projected object. ] type result&Source n. ] phantom typeProjection path. ] type leafNarrower projected object. ] phantom type result'Source n. ] phantom typeProjection path Narrower n . Flatten ] phantom type+Source n. ] phantom typeProjection path Narrower n . Flatten ] phantom type(Source n. ] 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.,,Aggregated query building interface extends 1.-Add GROUP BY1 term into context and get aggregated projection./'Lift interface from base qualify monad.0Lift from qualify monad q into 1* m. Qualify monad qualifies table form SubQuery.1Query building interface.2Specify duplication.3Add restriction to last join.4+Join sub-query with place-holder parameter p. query result is not ].5+Join sub-query with place-holder parameter p. Query result is ].6Restrict context interface7 Add restriction to this context.8'Specify ALL attribute to query context.9,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.*+,-Projection to add into group by0Result context and aggregated projection | Add GROUP BYS term into context and get aggregated projection. Non-traditional group-by version..7Key to aggretate for non-traditional group-by interface(Result context and aggregated projection/0123n which represent restrictionRestricted query context4567n which represent restrictionRestricted query context89:;<.*+,-./0123456789:;</06712345,-.*+89:;< *+,-./0123456789:;<.2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357C=/Context monad type to build partition keys set.>.Context monad type to build grouping set list.?/Context monad type to build grouping power set.@0Context monad type to build single grouping set.A)Context type building partition keys set.B&Context type building power group set.C)Context type building grouping sets list.D'Context type building one grouping set.E0Type 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.FLift to E.GRun E to get terms list.H3Specify key of single grouping set from Projection.I#Specify key of single grouping set.J)Finalize and specify single grouping set.K)Specify key of rollup and cube power set.L0Finalize grouping power set as rollup power set.M.Finalize grouping power set as cube power set.NFinalize grouping set list./Partition clause instance0Aggregated query instance.1 Aggregated 1.2 Aggregated /.3 Aggregated 6.=>?@ABCDE4F56G7HIJK8LMN/0123=>?@ABCDEFGHIJKLMNEFDCBAG@?>=HIJKLMN=>?@ABCDE4F56G7HIJK8LMN/01232013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457C9(Ordering term projection type interface.O-Type to accumulate ordering context. Type c* is ordering term projection context type.PLift to O.:Add ordering terms.QAdd ordering terms.RAdd ascendant ordering term.SAdd descendant ordering term.TRun O to get -;n is ordering term.<* with ordering.=, with ordering.>1 with ordering.?/ with ordering.@6 with ordering.9AOBP:Order directionOrdering terms to addResult context with orderingQOrdering terms to addOrder directionResult context with orderingROrdering terms to addResult context with orderingSOrdering terms to addResult context with orderingT;<=>?@-OPQRSTOP-QRST9AOBP:QRST;<=>?@2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357CUTarget of assignment.V.Type to accumulate assigning context. Type r is table record type.WLift to VXAdd an assignment.YAdd and assginment.ZRun V to get )C/ with assigning.D6 with assigning. UVEWFXYZCDUVWXYZVWXYUZ UVEWFXYZCDY2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone[6Target register monad type used from insert statement.\Run InsertStatement.[\[\[\[\2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357C]/Type to accumulate query restrictions. Type cT is context tag of restriction building like Flat (where) or Aggregated (having).^Lift to ]GAdd whole query restriction._Run ] to get H Resticted , instance.I Restricted 1 instance.J Restricted / instance.K6 instance. ]L^G_HIJK]^_]^_]L^G_HIJK2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357`<RestrictedStatement type synonym. Projection record type r must be the same as ] type parameter r.aIRestrict only monad type used from update statement and delete statement.bRun a to get .`ab`aba`b`ab2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357cAssignStatement type synonym. Specifying assignments and restrictions like update statement. Projection record type must be the same as Target type parameter r.dHTarget update monad type used from update statement and merge statement.eRun d.cdecdedcecde2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNonef.InsertTarget type with place-holder parameter p and projection record type r.g.UpdateTarget type with place-holder parameter p and projection record type r.h-Restriction type with place-holder parameter p and projection record type r.i Finalize Restrict monad and generate h.j Finalize Restrict monad and generate h with place-holder parameter pkSQL WHERE clause O string from h.l Finalize Target monad and generate g.m Finalize Target monad and generate g with place-holder parameter p.nLift h to g . Update target columns are all.oLift h to g7. Update target columns are all. With placefolder type p.p Finalize Restrict monad and generate g . Update target columns are all.q Finalize Restrict monad and generate g7. Update target columns are all. With placefolder type p.r SQL SET clause and WHERE clause O string from gs Finalize [ monad and generate f.t Finalize Target monad and generate g with place-holder parameter p.uSQL INSERT statement O string from fMShow where clause.fNgOhPijQklmRSnopqrstuTMfghijklmnopqrstuhijglmnopqfstkrufNgOhPijQklmRSnopqrstuTM2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457CvU) type to accumulate join product context.wLift to vV%Unsafely update join product context.W"Add last join product restriction.x(Unsafely join sub-query with this query.X#Basic monadic join operation using 1.yRun v to get oYJoinable query instance. vZwVWxAttribute maybe or justw to joinResult joined context and w result projection.XyY[\vwxyvwyx vZwVWxXyY[\2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNonez.OrderedQuery monad type with placeholder type p!. Projection must be the same as O context type parameter c.{PCore query monad type used from flat(not-aggregated) query and aggregated query.|Extract { computation.z{|z{|{|zz{|2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone3457}-Partition monad type for partition-by clause.~Aggregated query type. ~ p r ==  ( p, n   r).Aggregated query monad type.Run ~ to get SQL with  computation.Run ~ to get w with  computation.?Operator to make window function result projection using built } monad.] Restricted 6 instance. }~^~ to runResult SQL string with  computation~ to runResult w with  computation_]}~~} }~^_]2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357$Simple (not-aggregated) query type.  SimpleQuery' p r ==  ( p, n r).)Simple (not-aggregated) query monad type.%Lift from qualified table forms into .Run  to get SQL string with Qualify computation.Run  to get w with Qualify computation.` to runResult SQL string with Qualify computation SimpleQuery' to runResult w with Qualify computation`2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357CUnique query monad type./Unsafely join sub-query with this unique query.Run  SimpleQuery to get w with Qualify computation.aAttribute maybe or justw to joinResult joined context and w result projection.b to runResult w with Qualify computationab2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4-/Unique relation type to compose scalar queries.9Restriction function type for direct style join operator.Simple  from `.Infered .Interface to derive ` type object.$Join sub-query. Query result is not ]. Join sub-query. Query result is ]. 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 .c9Basic 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.dBasic 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.e#Basic monadic join operation using 1.2Join unique sub-query with place-holder parameter p.2Join unique sub-query with place-holder parameter p. Query result is ]. Finalize  monad and generate . Aggregated .-Scalar sub-query with place-holder parameter p.Scalar sub-query.4fghicLeft 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 relationdLeft 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 relationjkle**3fghicdjkle2013 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 ` 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 ` and g. Make typed  from >, ` and g. Make typed  using L, ` and g. Make typed  from >, derived table and c Make typed  from L, derived table and c Make typed  from ` and h!. Update target is all column.Directly make typed  from ` and Restrict/ monad context. Update target is all column.Directly make typed  from ` 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 ` and columns selector  with configuration parameter. Make typed  from ` and columns selector .Table type inferred . Make typed  from >, ` and monadic builded f object. Make typed  from ` and monadic builded f object. Make typed  from >$, derived table and monadic builded [ object. Make typed  from L$, derived table and monadic builded [ object.Unsafely make typed  from SQL string.+Make untyped insert select SQL string from `,  and . Make typed  from columns selector `,  and  with configuration parameter. Make typed  from columns selector `,  and .Table type inferred .Unsafely make typed  from SQL string.$Make untyped delete SQL string from ` and h. Make typed  from >, ` and h. Make typed  from ` and h. Make typed  from >, derived table and RestrictContext Make typed  from L, derived table and RestrictContextmShow delete SQL stringnShow insert SQL string.oShow insert SQL string.pShow update SQL stringqShow update SQL stringrShow query SQL stringHQuery SQL to type Typed resultsRestrict monad contexttuvwxmnopqr<<9stuvwxmnopqr 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 ` to updateKey with constraint c, record type r and columns type p Result typed Update` 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 experimentalunknownNoneN  !"%&'(012;<=>?@ABCDEFGL^_`nw      !"#$%&'()*+,-./1456789:;<HIJKLMNQRSXYadfghijklmnopqrstuz{|}~!2015 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone4C:Arrow type corresponding to )*Arrow type corresponding to )+Arrow type corresponding to VArrow type corresponding to }Arrow type corresponding to OArrow type corresponding to ?Arrow type corresponding to >Arrow type corresponding to @Arrow type corresponding to Arrow type corresponding to Arrow type corresponding to Arrow to build queries.Same as 8. Arrow version.Same as 9. 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 4N. Arrow version. The result arrow is not injected by any local projections. Same as 5N. 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 -Z. 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 .4. This arrow is designed to be injected by local 3."Same as HE. This arrow is designed to be injected by local flat-projections.#Same as I4. This arrow is designed to be injected by local  AggregteKey.$Same as J<. This arrow is designed to be injected by locally built  AggregtingSet arrow.%Same as KE. This arrow is designed to be injected by local flat-projections.&Same as L. Finalize locally built .'Same as M. Finalize locally built .(Same as N. Finalize locally built .)Same as QF. The result arrow is designed to be injected by local projections.*Same as RF. The result arrow is designed to be injected by local projections.+Same as SF. The result arrow is designed to be injected by local projections.,Same as +F. The result arrow is designed to be injected by local projections.-Same as 8. Make window function result projection using built  arrow..Make UN into arrow which is designed to be injected by local projection assignees./Same as  . Make 4 from assigning statement arrow using configuration.0Same as  . Make  from assigning statement arrow.1Same as  . Make 3 from restrict statement arrow using configuration.2Same as  . Make  from restrict statement arrow.Byz{|  }~    !"#$%&'()*+,-./012]  !"%&'(012;<=>?@ABCDEFGL^_`nw      !"#$%&'()*,/167XYadfghijklmnopqrstuz{|~      !"#$%&'()*+,-./012:      !"#$%&'()*+,-./012Ayz{|  }~    !"#$%&'()*+,-./012-"2013 Kei HibinoBSD3ex8k.hibino@gmail.com experimentalunknownNone357@N$&Rule template to infer constraint key.3#Rule template to infer primary key.4#Rule template to infer primary key.5#Rule template to infer primary key.6$Rule template to infer not-null key.7$Rule template to infer not-null key.8$Rule template to infer not-null key.Column projection path  template.Column projection path  and constraint key template.9Column 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.;` and  templates.<Make TableDerivationH variable expression template from table name using default naming rule.=Make `H variable expression template from table name using default naming rule.>Make J variable expression template from table name using specified naming rule.?Make H variable expression template from table name using default naming rule.@Make template for  instance.Make template for record & instance using specified naming rule.ALMake templates about table and column metadatas using specified naming rule.BJMake templates about table and column metadatas using default naming rule.CRMake templates about table, column and haskell record using specified naming rule.DPMake templates about table, column and haskell record using default naming rule.ETemplate of derived primary .FTemplate of derived primary Update.G'SQL templates derived from primary key.HASQL templates derived from primary key using default naming rule. All templates about primary key.!All templates about not-null key.I>Generate all templtes about table using specified naming rule.J<Generate all templtes about table using default naming rule.KUnsafely inlining SQL string  in compile type.L8Extract param type and result type from defined RelationMInlining composed  in compile type.NnGenerate all templates against defined record like type constructor other than depending on sql-value type.'Constraint type Record typeKey typeIndexes specifies keyResult   declaration3 Record typeKey typeIndexes specifies key"Result constraint key declarations4configuration parameters Schema name Table name Column typePrimary key index&Declarations of primary constraint key5 Schema name Table name Column typePrimary key index&Declarations of primary constraint key6 Record type Column indexResult ColumnConstraint declaration7configuration parameters Schema name Table nameNotNull key index&Declaration of not-null constraint key8 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 declaration9Record 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 Exp=Table name stringResult var Exp>2Configuration which has naming rules of templatesSchema name stringTable name stringResult var Exp?Schema name stringTable name stringResult var Exp@A$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarationsB$Configuration to generate query with Schema name Table name*Column names and types and constraint typeResult declarationsC$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarationsD$Configuration to generate query with Schema name Table nameColumn names and typesRecord derivingsResult declarationsE#Variable name of result declarationParameter type of Record type of  expressionResult  declarationF#Variable name of result declarationParameter type of UpdateRecord type of Update` expressionResult Update declarationG9Variable name of select query definition from primary key=Variable name of update statement definition from primary keyPrimary key type Record typeRelation expressionTable expressionResult declarationsHTable name of DatabasePrimary key type Record typeRelation expressionTable expressionResult declarations Schema nameTable name stringType of primary keyIndexes specifies primary keyResult declarationsI$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarationsJ$Configuration to generate query withSchema name string of DatabaseTable name string of DatabaseColumn names and typesderivings for Record typePrimary key indexNot null key indexResult declarationsKQuery parameter typeQuery result typeSQL string query to inlineVariable name for inlined queryResult declarationsL%Variable name which has Relation type7Extracted param type and result type from Relation typeM"Top-level variable name which has  typeObject which has  typeConfiguration to generate SQLsuffix SQL words(Variable name to define as inlined queryResult declarationsNType constructor nameResult declaration3456789:;<=>?@ABCDEFGHIJKLMNIJKMCD3456789:;ABEF<=>?GH@NL'3456789:;<=>?@ABCDEFGHIJKLMN,-.,-/,-0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrrstuvwxyz{|}~C$$$$$$$$$$ C     C G A B        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~*~+~        !*!+!x!!q!a!`!b!!!! !Z![!!!V!W!!! ! ! ! !!!!!!!\!]!^!O!2!!!!!!P!j!k!l!m!n!o!p!s!t!u!M!!!!!!"""""""""""""""" "!"""#"$"%"&"'"(")"*"+",#-#./01#2#3#4#5#6789:;</0=>?@AB?CDE?FGHIJKLIJMNIJOPIJQRSTUVSWUXYZ[\Y][^_IJ`a/bcd/bef/bgh/bijklmnopq/0rs,tu?vwxyz{C,-|}~Pacdlu$$$$$$$$$/0$$$$$$=$$$$$$9$8$$$$$%%%%%%%      D                   &&&&&&&'''''''        z  /0/0g     qx !"#$%&'(~)~~*+.,-./0123456789:;<=! !>!?!@!A!B!C!D"E"F"G"H"I"J"K"L"M"N"OPrelat_08IaPJQwy2l5nFskOma9ru$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_JEYZY9PCVUpCyAEiBKo7LDDatabase.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 PUSupportedPUNotSupportedConfigproductUnitSupportchunksInsertSizenormalizedTableNameverboseAsCompilerWarning nameConfig 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$fShowConstantTermsSQLLocalTimetime_AXTdBF9VRQoBOqJT6qtmVHData.Time.LocalTime.LocalTime LocalTime$fShowConstantTermsSQLTimeOfDayData.Time.LocalTime.TimeOfDay TimeOfDay$fShowConstantTermsSQLDayData.Time.Calendar.DaysDay$fShowConstantTermsSQLDoubleghc-prim GHC.TypesDouble$fShowConstantTermsSQLFloatFloat$fShowConstantTermsSQLBoolBool$fShowConstantTermsSQLCharChar$fShowConstantTermsSQLTexttext_BKzOMwCPkuv5n8xwLM3CQGData.Text.Internal.LazyText$fShowConstantTermsSQLText0Data.Text.Internal $fShowConstantTermsSQLByteStringbytes_6elQVSg5cWdFrvRnfxTUrHData.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_3eG64VdP2vzGjP6wJiCp5XControl.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 Projectable$fProjectableRunIdsZipaa$fProjectableRunIdsZip(,)b$fProjectableRunIdsZip(,)b0#$fProjectableFlattenMaybeMaybeMaybe$fProjectableFlattenMaybeMaybeb!$fProjectableProjectionProjectionAggregatedContextproject projectPiprojectPiMaybeprojectPiMaybe'projectFlattenPiMaybe$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