h,9       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      0.10.3.0 None ")*/1378:=>8A type error directing the user to use an explicitly sized integers, instead of   or  .None ")*/1378:=>     None ")*/1378:=>"#,Support for NULLable Foreign Key references. data MyTable f = MyTable { nullableRef :: PrimaryKey AnotherTable (Nullable f) , ... } deriving (Generic, Typeable)See Columnar for more information.$newtype mainly used to inspect the tag structure of a particular Beamable. Prevents overlapping instances in some case. Usually not used in end-user code.%Class for all Beam backends&Requirements to marshal a certain type from a database of a particular backend%&$#%&$#None# ")*/01378:=>#+Parses a beam row. This should not fail, except in the case of an internal bug in beam deserialization code. If it does fail, this should throw a BeamRowParseError.3An error that may occur when parsing a row. Contains an optional annotation of which column was being parsed (if available).7The exact error encounteredFG?@34657;9:8><=*+,/120-.'()/102-.?@789:>=<;3465*+,FG'()None  ")*/01378:=>(bCompare the first and second argument for nullable equality, if they are both not null, return the result of the third expressionSome backends, like  beam-postgres totally ignore the third result, because all equality there is sensible.Compare the first and second argument for nullable equality, if they are both not null, return the result of the third expressionSome backends, like  beam-postgres totally ignore the third result, because all equality there is sensible.Included so that we can easily write a Num instance, but not defined in SQL92. Implementations that do not support this, should use CASE .. WHEN ..Whether or not the DELETE command supports aliases0Type classes for syntaxes which can be displayedRender the syntax as a  0, representing the SQL expression it stands forzSchema  Table name | Schema name With time zone With time zone WHERE Fields Where clause having clause LIMIT OFFSET fghjiklmnopq}~{|yzrtsuwxv}~{|yzrxwvutsoqphnmlkijfgNone ")*/1378:=>+fghjiklmnopq}~{|yzrtsuwxvjip~tsu None ")*/1378:=>0k 0Optional SQL2008 "BIGINT data type" T071 support2Optional SQL2003 "NTH_VALUE function" T618 supportOptional SQL2003 "FIRST_VALUE and LAST_VALUE function" T616 support5Optional SQL2003 "LEAD and LAG function" T615 support.Optional SQL2003 "NTILE function" T614 support:Optional SQL2003 "Enhanced numeric functions" T621 support>Optional SQL2003 "BINARY AND VARBINARY data type" T021 support:Optional SQL2003 "Elementary OLAP operations" T611 support8Optional SQL2003 "Advanced OLAP operations" T612 support:Optional SQL2003 "Elementary OLAP operations" T611 supportfghjiklmnopq}~{|yzrtsuwxvjip~tsu None! ")*/1378:=>3 None! ")*/01378:=>= 9Type class for things which are text-like in this backendFake backend that cannot deserialize anything, but is useful for testingClass for all Beam SQL backends<=*+,/120-.'()fghjiklmnopq}~{|yzrtsuwxvjip~tsu  8 None" ")*/01378:=>A The main syntax. A wrapper over  %None ")*/1378:=>B-?@34657;9:8><=*+,/120-.'()fghjiklmnopq}~{|yzrtsuwxvjip~tsu  &%&$# None  ")*/1378:=>ENone! ")*/1378:=>ul,.Class to automatically unwrap nested Nullables Type-level representation of the naming strategy to use for defaulting Needed because primary keys should be named after the default naming of their corresponding table, not the names of the record selectors in the primary key (if any).Carry a constraint instance.8Carry a constraint instance and the value it applies to.Provides a number of introspection routines for the beam library. Allows us to "zip" tables with different column tags together. Always instantiate an empty  instance for tables, primary keys, and any type that you would like to embed within either. See the  5https://haskell-beam.github.io/beam/user-guide/modelsmanual& for more information on embedding.5The big Kahuna! All beam tables implement this class.The kind of all table types is '(Type -> Type) -> Type'. This is because all table types are actually table type constructors. Every table type takes in another type constructor, called the  column tag, and uses that constructor to instantiate the column types. See the documentation for .This class is mostly Generic-derivable. You need only specify a type for the table's primary key and a method to extract the primary key given the table.An example table: data BlogPostT f = BlogPost { _blogPostSlug :: Columnar f Text , _blogPostBody :: Columnar f Text , _blogPostDate :: Columnar f UTCTime , _blogPostAuthor :: PrimaryKey AuthorT f , _blogPostTagline :: Columnar f (Maybe Text) , _blogPostImageGallery :: PrimaryKey ImageGalleryT (Nullable f) } deriving Generic instance Beamable BlogPostT instance Table BlogPostT where data PrimaryKey BlogPostT f = BlogPostId (Columnar f Text) deriving Generic primaryKey = BlogPostId . _blogPostSlug instance Beamable (PrimaryKey BlogPostT)!We can interpret this as follows:The  _blogPostSlug,  _blogPostBody,  _blogPostDate, and _blogPostTagline fields are of types  ,  , UTCTime , and 'Maybe Text' respectfully.Since  _blogPostSlug,  _blogPostBody,  _blogPostDate, _blogPostAuthor, must be provided (i.e, they cannot contain  7), they will be given SQL NOT NULL constraints. _blogPostTagline is declared   so  ) will be stored as NULL in the database. _blogPostImageGallery1 will be allowed to be empty because it uses the # tag modifier.blogPostAuthor references the AuthorT( table (not given here) and is required.blogPostImageGallery references the  ImageGalleryT table (not given here), but this relation is not required (i.e., it may be  . See #).A data type representing the types of primary keys for this table. In order to play nicely with the default deriving mechanism, this type must be an instance of .Given a table, this should return the PrimaryKey from the table. By keeping this polymorphic over column, we ensure that the primary key values come directly from the table (i.e., they can't be arbitrary constants) A form of table all fields . Useful as a parameter to $ when you only care about one table.!Column tag that ignores the type.The regular Haskell version of the table. Equivalent to 'tbl Identity'Represents a table that contains metadata on its fields. In particular, each field of type 'Columnar f a' is transformed into 'TableField table a'. You can get or update the name of each field by using the  lens.Metadata for a field of type ty in table.Essentially a wrapper over the field name, but with a phantom type parameter, so that it forms an appropriate column tag.Usually you use the  function to generate an appropriate naming convention for you, and then modify it with  if necessary. Under this scheme, the field n be renamed using the   instance for  , or the  function.The field nameThe path that led to this field. Each element is the haskell name of the record field in which this table is stored.Like &', but with an intermediate If you declare a function 'Columnar f a -> b' and try to constrain your function by a type class for f, GHC will complain, because f is ambiguous in 'Columnar f a'. For example, 'Columnar Identity (Maybe a) ~ Maybe a' and 'Columnar (Nullable Identity) a ~ Maybe a', so given a type 'Columnar f a', we cannot know the type of f.Thus, if you need to know f, you can instead use 0. Since its a newtype, it carries around the f paramater unambiguously. Internally, it simply wraps 'Columnar f a'A short type-alias for %. May shorten your schema definitionsA type family that we use to "tag" columns in our table datatypes.This is what allows us to use the same table type to hold table data, describe table settings, derive lenses, and provide expressions.The basic rules are Columnar Identity x = x Thus, any Beam table applied to  will yield a simplified version of the data type, that contains just what you'd expect.The # type is used when referencing s that we want to include optionally. For example, if we have a table with a , like the following data BeamTableT f = BeamTableT { _refToAnotherTable :: PrimaryKey AnotherTableT f , ... }9we would typically be required to provide values for the  embedded into  BeamTableT. We can use # to lift this constraint. data BeamTableT f = BeamTableT { _refToAnotherTable :: PrimaryKey AnotherTableT (Nullable f) , ... }Now we can use just_ and nothing_1 to refer to this table optionally. The embedded  in _refToAnotherTable0 automatically has its fields converted into   using #. The last  rule is Columnar f x = f xUse this rule if you'd like to parameterize your table type over any other functor. For example, this is used in the query modules to write expressions such as 'TableT QExpr', which returns a table whose fields have been turned into query expressions.The other rules are used within Beam to provide lenses and to expose the inner structure of the data type.When parameterized by this entity tag, a database type will hold meta-information on the Haskell mappings of database entities. Under the hood, each entity type is transformed into its  type. For tables this includes the table name as well as the corresponding ', which provides names for each column.Represents a meta-description of a particular entityType. Mostly, a wrapper around 'DatabaseEntityDescriptor be entityType', but carries around the  dictionary.4An entity tag for tables. See the documentation for  or consult the  5https://haskell-beam.github.io/beam/user-guide/modelsmanual for more.A newtype wrapper around 'Columnar f a -> Columnar f a' (i.e., an endomorphism between s over f). You usually want to use  or the  7 instance to rename the field, when 'f ~ TableField'A newtype wrapper around 'f e -> f e' (i.e., an endomorphism between entity types in f). You usually want to use 4 or another function to contstruct these for you.A helper data type that lets you modify a database schema. Converts all entities in the database into functions from that entity to itself.)Allows introspection into database types.All database types must be of kind '(Type -> Type) -> Type'. If the type parameter is named f', each field must be of the type of f# applied to some type for which an  instance exists.The be type parameter is necessary so that the compiler can ensure that backend-specific entities only work on the proper backend.Entities are documented under  Database.Beam.Schema#entitiesthe corresponding section and in the 9https://haskell-beam.github.io/beam/user-guide/databases/manual9Default derived function. Do not implement this yourself.The idea is that, for any two databases over particular entity tags f and g, if we can take any entity in f and g# to the corresponding entity in h0 (in the possibly effectful applicative functor m3), then we can transform the two databases over f and g to a database in h , within m.If that doesn't make sense, don't worry. This is mostly beam internalAutomatically provide names for tables, and descriptions for tables (using  ). Your database must implement , and must be auto-derivable. For more information on name generation, see the 5https://haskell-beam.github.io/beam/user-guide/modelsmanual Return a  that does nothing. This is useful if you only want to rename one table. You can do dbModification { tbl1 = modifyTable (\oldNm -> "NewTableName") tableModification }*Return a table modification (for use with ) that does nothing. Useful if you only want to change the table name, or if you only want to modify a few fields. For example, (tableModification { field1 = "Column1" }is a table modification (where 'f ~ TableField tbl') that changes the column name of field1 to Column1.Modify a database according to a given modification. Most useful for  to change the name mappings of tables and fields. For example, you can use this to modify the default names of a table db :: DatabaseSettings MyDb db = defaultDbSettings `withDbModification` dbModification { -- Change default name "table1" to "Table_1". Change the name of "table1Field1" to "first_name" table1 = setEntityName "Table_1" <> modifyTableFields tableModification { table1Field1 = "first_name" } }Modify a table according to the given field modifications. Invoked by  to apply the modification in the database. Not used as often in user code, but provided for completeness. Provide an  for s. Allows you to modify the name of the table and provide a modification for each field in the table. See the examples for  for more. Construct an  to rename any database entity Construct an ' to set the schema of a database entity?Change the entity name without consulting the beam-assigned one,Embed database settings in a larger database Construct an  to rename the fields of a A field modification to rename the field. Also offered under the   instance for 'FieldModification (TableField tbl) a' for convenience.KAutomatically deduce lenses for a table over any column tag. lenses at global level by doing a top-level pattern match on 9, replacing every column in the pattern with `LensFor  nameOfLensForField'. The lenses are generated per-column, not per field in the record. Thus if you have nested 3 types, lenses are generated for each nested field. For example, data AuthorT f = AuthorT { _authorEmail :: Columnar f Text , _authorFirstName :: Columnar f Text , _authorLastName :: Columnar f Text } deriving Generic data BlogPostT f = BlogPost { _blogPostSlug :: Columnar f Text , _blogPostBody :: Columnar f Text , _blogPostDate :: Columnar f UTCTime , _blogPostAuthor :: PrimaryKey AuthorT f , _blogPostTagline :: Columnar f (Maybe Text) } deriving Generic instance Table BlogPostT where data PrimaryKey BlogPostT f = BlogPostId (Columnar f Text) primaryKey = BlogPostId . _blogPostSlug instance Table AuthorT where data PrimaryKey AuthorT f = AuthorId (Columnar f Text) primaryKey = AuthorId . _authorEmail BlogPost (LensFor blogPostSlug (LensFor blogPostBody) (LensFor blogPostDate) (AuthorId (LensFor blogPostAuthorEmail)) (LensFor blogPostTagLine) = tableLensesNote: In order to have GHC deduce the right type, you will need to turn off the monomorphism restriction. This is a part of the Haskell standard that specifies that top-level definitions must be inferred to have a monomorphic type. However, lenses need a polymorphic type to work properly. You can turn off the monomorphism restriction by enabling the NoMonomorphismRestriction extension. You can do this per-file by using the {-# LANGUAGE NoMonomorphismRestriction #-} pragma at the top of the file. You can also pass the -XNoMonomorphismRestriction0 command line flag to GHC during compilation.Like % but for types that are instances of $. Instead of pattern matching on , pattern match on .None ")*/1378:=>*#*#None! ")*/1378:=>Typeclass for all haskell data types that can be used to create a projection in a SQL select statement. This includes all tables as well as all tuple classes. Projections are only defined on tuples up to size 5. If you need more, follow the implementations here.2s represent expressions not containing aggregates.The type of lifted beam expressions that will yield the haskell type t.context is a type-level representation of the types of expressions this can contain. For example, < represents expressions that may contain aggregates, and , represents expressions that may contain OVER.syntax is the expression syntax being built (usually a type that implements  at least, but not always).s. is a state threading parameter that prevents s from incompatible sources to be combined. For example, this is used to prevent monadic joins from depending on the result of previous joins (so-called LATERAL joins).&The type of queries over the database db returning results of type a. The s argument is a threading argument meant to restrict cross-usage of s. syntax7 represents the SQL syntax that this query is building.suitable as argument to  in the case of a table resultNone! ")*/1378:=> Which  ! to use to build this select. If  , use the defaultConvenience functions to construct an arbitrary SQL92 select syntax type from a :. Used by most backends as the default implementation of  buildSqlQuery in  HasQBuilder. LIMIT OFFSET Whether this backend supports arbitrary nested UNION, INTERSECT, EXCEPT  Table prefix None  ")*/1378:=>o    ,None ")*/1378:=>\  Phantom type representing a SQL  Tri-state$ boolean -- true, false, and unknownThis type has no values because it cannot be sent to or retrieved from the database directly. Use isTrue_, isFalse_,  isNotTrue_,  isNotFalse_,  isUnknown_,  isNotUnknown_, and  unknownAs_ to retrieve the corresponding   value. SQL AND operator SQL OR operator SQL AND operator for  SQL OR operator SQL LIKE operator SQL LIKE. operator but heterogeneous over the text type SQL99  SIMILAR TO operator SQL99  SIMILAR TO. operator but heterogeneous over the text type SQL NOT operator SQL NOT operator, but operating on   instead SQL / operator SQL % operator SQL CONCAT function  - . - . / / 0 01None  ")*/1378:=>$ Class for things which can be  quantifiably compared. Class for expression types or expression containers for which there is a notion of ordering.Instances are provided to check the ordering of expressions of the same type. Since there is no universal notion of ordering for an arbitrary number of expressions, no instance is provided for  types. Constraint synonym to check if two tables can be compared for equality Class for Haskell types that can be compared for quantified equality in the given backend Class for Haskell types that can be compared for equality in the given backend Tri-state equality Tri-state equality :Class for expression types for which there is a notion of  quantified equality. )Quantified equality and inequality using  SQL semantics (tri-state boolean) )Quantified equality and inequality using  SQL semantics (tri-state boolean) Class for expression types or expression containers for which there is a notion of equality.Instances are provided to check the equality of expressions of the same type as well as entire  types parameterized over  Given two expressions, returns whether they are equal, using Haskell semantics (NULLs handled properly) Given two expressions, returns whether they are not equal, using Haskell semantics (NULLs handled properly) #Given two expressions, returns the SQL tri-state boolean when compared for equality #Given two expressions, returns the SQL tri-state boolean when compared for inequality %Class for backends which support SQL IN on lists of row values, which is not part of ANSI SQL. This is useful for IN on primary keys. SQL IN predicate A data structure representing the set to quantify a comparison operator over.  Convert a known not null bool to a  . See   for the inverse SQL IS TRUE operator SQL  IS NOT TRUE operator SQL IS FALSE operator SQL  IS NOT FALSE operator SQL  IS UNKNOWN operator SQL IS NOT UNKNOWN operator Return the first argument if the expression has the unknown SQL value See   for the inverse  Retrieve a   value as a potentially NULL  . This is useful if you want to get the value of a SQL boolean expression directly, without having to specify what to do on UNKNOWN. Note that both NULL and UNKNOWN will be returned as  . Convert a possibly NULL   to a  . A   representing a SQL ALL(..) for use with a #quantified-comparison-operatorquantified comparison operatorAccepts a subquery. Use   for an explicit list A   representing a SQL ALL(..) for use with a #quantified-comparison-operatorquantified comparison operator3Accepts an explicit list of typed expressions. Use   for a subquery A   representing a SQL ANY(..) for use with a #quantified-comparison-operatorquantified comparison operatorAccepts a subquery. Use   for an explicit list A   representing a SQL ANY(..) for use with a #quantified-comparison-operatorquantified comparison operator3Accepts an explicit list of typed expressions. Use   for a subquery SQL BETWEEN clause Compare two arbitrary  types containing s for equality. Compare two arbitrary expressions (of the same type) for equality Two arbitrary expressions can be quantifiably compared for equality.2 3 4 5 6 7 8 2  / / / / / / / / / / / / / / / / /9None ")*/1378:=> 2Type-class for types that contain a date component 2Type-class for types that contain a time component ;A field that can be extracted from SQL expressions of type tgt that results in a type a , in backend be. 3Extracts the given field from the target expression Extracts the hours, minutes, or seconds from any timestamp or time field Extracts the hours, minutes, or seconds from any timestamp or time field Extracts the hours, minutes, or seconds from any timestamp or time field None  ")*/1378:=> A data type in a given 9 which describes a SQL type mapping to the Haskell type a 6Cast a value to a specific data type, specified using  .Note: this may fail at run-time if the cast is invalid for a particular value SQL92 INTEGER data type SQL92 SMALLINT data type SQL2008 Optional BIGINT data type SQL2003 Optional BINARY data type SQL2003 Optional  VARBINARY data type SQL92 DATE data type SQL92 CHAR data type SQL92 VARCHAR data type SQL92 NATIONAL CHARACTER VARYING data type SQL92 NATIONAL CHARACTER data type SQL92 DOUBLE data type SQL92 NUMERIC data type SQL92 TIMESTAMP WITH TIME ZONE data type SQL92 TIMESTAMP WITHOUT TIME ZONE data type SQL92 TIME data type SQL99 BOOLEAN data type SQL99 CLOB data type SQL99 BLOB data type SQL99 array data types Haskell requires  4s to match exactly. Use this function to convert a  2 that expects a concrete value to one expecting a    None! ")*/1378:=> A type-class for expression syntaxes that can embed custom expressions. 5Given an arbitrary string-like expression, produce a syntax that represents the   as a SQL expression. Given an arbitrary syntax, produce a string-like value that corresponds to how that syntax would look when rendered in the backend. Force a & to be typed as a value expression (a ). Useful for getting around type-inference errors with supplying the entire type. Force a  to be typed as an aggregate. Useful for defining custom aggregates for use in  aggregate_.  None" ")*/1378:=>t Query results that have been introduced into a common table expression via  * that can be used in future queries with  . Monad in which SELECT statements can be made (via  ) and bound to result names for re-use later. This has the advantage of only computing each result once. In SQL, this is translated to a common table expression.?Once introduced, results can be re-used in future queries with  .  is also a member of   for backends that support recursive CTEs. In this case, you can use mdo or rec notation (with  RecursiveDo/ enabled) to bind result values (again, using  ) even before they're introduced.See further documentation  https://haskell-beam.github.io/beam/user-guide/queries/common-table-expressions/here. Introduce the result of a query as a result in a common table expression. The returned value can be used in future queries by applying  . $Introduces the result of a previous   (a CTE) into a new query None ")*/1378:=>w 1Introduce a table into a query without using the Beamable and Database machinery.The first argument is the optional name of the schema the table is in and the second is the name of the table to source from.The third argument is a tuple (or any nesting of tuples) where each value is of type   (use   to construct).The return value is a tuple (or any nesting of tuples) of the same shape as  structure but where each value is a .&For example, to source from the table Table1, with fields Field1 (A boolean), Field2 (a timestamp), and Field3 (a string) table_ Nothing "Table1" ( field_ @Bool "Field1", field_ @UTCTime "Field2", field_ @Text "Field3" ) Used to construct  .s, most often with an explicitly applied type.The type can be omitted if the value is used unambiguously elsewhere.  :None! ")*/1378:=>N; Type class for anything which can be checked for null-ness. This includes 'QExpr (Maybe a)' as well as s or s over 'Nullable QExpr'.  Returns a ; that evaluates to true when the first argument is not null  Returns a 7 that evaluates to true when the first argument is null Given an object (third argument) which may or may not be null, return the default value if null (first argument), or transform the value that could be null to yield the result of the expression (second argument) Type class for things that can be nullable. This includes 'QExpr (Maybe a)', 'tbl (Nullable QExpr)', and 'PrimaryKey tbl (Nullable QExpr)' Given something of type 'QExpr a', 'tbl QExpr', or 'PrimaryKey tbl QExpr', turn it into a 'QExpr (Maybe a)', 'tbl (Nullable QExpr)', or 'PrimaryKey t (Nullable QExpr)' respectively that contains the same values. /Return either a 'QExpr (Maybe x)' representing   or a nullable  or  filled with  .  Update a  or  type containing s with the given  or  type containing  *Introduce all entries of a table into the  monad )Introduce all entries of a view into the  monad SQL VALUES clause. Introduce the elements of the given list as rows in a joined table. *Introduce all entries of a table into the  monad based on the given QExpr. The join condition is expected to return a  . For a version that takes   (a possibly UNKNOWN boolean, that maps more closely to the SQL standard), see  . Like  , but accepting an ON condition that returns  Introduce a table using a left join with no ON clause. Because this is not an inner join, the resulting table is made nullable. This means that each field that would normally have type 'QExpr x' will now have type 'QExpr (Maybe x)'. /Outer join. every row of each table, returning NULL for any row of either table for which the join condition finds no related rows.)This expects a join expression returning   , for a version that accepts a   (a possibly UNKNOWN< boolean, that maps more closely to the SQL standard), see  Like  , but accepting  . Pairs of rows for which the join condition is unknown are considered to be unrelated, by SQL compliant databases at least. Introduce a table using a left join. The ON clause is required here.Because this is not an inner join, the resulting table is made nullable. This means that each field that would normally have type 'QExpr x' will now have type 'QExpr (Maybe x)'.The ON condition given must return  #. For a version that accepts an ON condition returning  , see  . Like  , but accepts an ON clause returning  . !Only allow results for which the  yields  -. For a version that operates over possibly NULL  s, see  . !Only allow results for which the  yields TRUE.This function operates over  , which are like haskell  s, except for the special UNKNOWN- value that occurs when comparisons include NULL.. For a version that operates over known non-NULL booleans, see  .  Synonym for +clause >>= \x -> guard_ (mkExpr x)>> pure x. Use   for comparisons with   Synonym for ,clause >>= \x -> guard_' (mkExpr x)>> pure x. Use   for comparisons with  Introduce all entries of the given table which are referenced by the given  Introduce all entries of the given table for which the expression (which can depend on the queried table returns true) Introduce all entries of the given table for which the expression (which can depend on the queried table returns true)  Generate an appropriate boolean  comparing the given foreign key to the given table. Useful for creating join conditions. Use   for a   comparison.  Generate an appropriate boolean  comparing the given foreign key to the given table. Useful for creating join conditions. Use   for a   comparison. (Only return distinct values from a query 0Limit the number of results returned by a query. Drop the first offset' results.  Use the SQL EXISTS= operator to determine if the given query returns any results  Use the SQL UNIQUE operator to determine if the given query produces a unique result Use the SQL99 DISTINCT operator to determine if the given query produces a distinct result Project the (presumably) singular result of the given query as an expression SQL  CHAR_LENGTH function SQL  OCTET_LENGTH function SQL  BIT_LENGTH function SQL CURRENT_TIMESTAMP function SQL POSITION(.. IN ..) function SQL LOWER function SQL UPPER function SQL TRIM function $Combine all the given boolean value  s with the   operator. Extract an expression representing the current (non-UPDATEd) value of a  SQL UNION operator SQL  UNION ALL operator SQL  INTERSECT operator SQL  INTERSECT ALL operator SQL EXCEPT operator SQL  EXCEPT ALL operator Convenience function that allows you to use type applications to specify the result of a .$Useful to disambiguate the types of s without having to provide a complete type signature. As an example, the  countAll_) aggregate can return a result of any   type. Without further constraints, the type is ambiguous. You can use  ! to disambiguate the return type.For example, this is ambiguous aggregate_ (\_ -> countAll_) ..But this is not *aggregate_ (\_ -> as_ @Int32 countAll_) .. +Specify a window frame with all the options Produce a window expression given an aggregate function and a window. Compute a query over windows.2The first function builds window frames using the  ,  , etc functions. The return type can be a single frame, tuples of frame, or any arbitrarily nested tuple of the above. Instances up to 8-tuples are provided.The second function builds the resulting projection using the result of the subquery as well as the window frames built in the first function. In this function, window expressions can be included in the output using the   function. Order by the given expressions. The return type of the ordering key should either be the result of   or   (or another ordering  generated by a backend-specific ordering) or an (possibly nested) tuple of results of the former.The  ?https://haskell-beam.github.io/beam/user-guide/queries/orderingmanual section has more information.  Produce a  corresponding to a SQL ASC ordering  Produce a  corresponding to a SQL DESC ordering SQL COALESCE support  Convert a  1 value to a concrete value, by suppling a default  PARTITION BY  ORDER BY  RANGE / ROWS Window builder functionProjection builder function. Has access to the windows generated aboveQuery to window over  / -;None ")*/1378:=>. Convenience type to declare many-to-many relationships with additional data. See the manual section on  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ relationships for more information Convenience type to declare many-to-many relationships. See the manual section on  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ relationships for more information Convenience type to declare one-to-many relationships with a nullable foreign key. See the manual section on  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ relationships for more information  Synonym of  . Useful for giving more meaningful types, when the relationship is meant to be one-to-one. Convenience type to declare one-to-many relationships. See the manual section on  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ relationships for more information  Synonym of  . Useful for giving more meaningful types, when the relationship is meant to be one-to-one. Used to define one-to-many (or one-to-one) relationships. Takes the table to fetch, a way to extract the foreign key from that table, and the table to relate to. Used to define one-to-many (or one-to-one) relationships. Takes the table to fetch, a way to extract the foreign key from that table, and the table to relate to. Used to define one-to-many (or one-to-one) relationships with a nullable foreign key. Takes the table to fetch, a way to extract the foreign key from that table, and the table to relate to. Used to define one-to-many (or one-to-one) relationships with a nullable foreign key. Takes the table to fetch, a way to extract the foreign key from that table, and the table to relate to. Used to define many-to-many relationships without any additional data. Takes the join table and two key extraction functions from that table to the related tables. Also takes two +s representing the table sources to relate.See  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ the manual for more information. Used to define many-to-many relationships with additional data. Takes the join table and two key extraction functions from that table to the related tables. Also takes two +s representing the table sources to relate.See  https://haskell-beam.github.io/beam/user-guide/queries/relationships/ the manual for more information. Table to fetch (many)  Foreign key Table to fetch (many)  Foreign key Table to fetch  Foreign key Table to fetch  Foreign key <None ")*/1378:=> Type class for grouping keys. expr6 is the type of the grouping key after projection. grouped is the type of the grouping key in the aggregate expression (usually something that contains  s in the ). "Compute an aggregate over a query.The supplied aggregate projection should return an aggregate expression (an expression containing an aggregate function such as  ,  ,  +, etc), a grouping key (specified with the  7 function), or a combination of tuples of the above.2Appropriate instances are provided up to 8-tuples.Semantically, all grouping expressions in the projection will be added to a SQL GROUP BY7 clause and all aggregate expressions will be computed.The return value will be the type of the aggregate projection, but transformed to be in the normal value context (i.e., everything will become s).For usage examples, see  https://haskell-beam.github.io/beam/user-guide/queries/aggregates/ the manual. Compute an aggregate over all values in a group. Corresponds semantically to the  AGG(ALL ..)) syntax, but doesn't produce an explicit ALL. To produce ALL expicitly, see  . Compute an aggregate only over distinct values in a group. Corresponds to the AGG(DISTINCT ..) syntax. Compute an aggregate over all values in a group. Corresponds to the  AGG(ALL ..) syntax. Note that ALL is the default for most aggregations, so you don't normally explicitly specify ALL. However, if you need to, you can use this function. To be explicit about quantification in the beam query DSL, but not produce an explicit ALL, use  .   has the same semantic meaning, but does not produce an explicit ALL. SQL  MIN(ALL ..)( function (but without the explicit ALL) SQL  MAX(ALL ..)( function (but without the explicit ALL) SQL  AVG(ALL ..)( function (but without the explicit ALL) SQL  SUM(ALL ..)( function (but without the explicit ALL) SQL COUNT(*) function SQL  COUNT(ALL ..)( function (but without the explicit ALL) SQL2003  CUME_DIST: function (Requires T612 Advanced OLAP operations support) SQL2003  PERCENT_RANK: function (Requires T612 Advanced OLAP operations support) SQL2003  DENSE_RANK: function (Requires T612 Advanced OLAP operations support) SQL2003  ROW_NUMBER function SQL2003 RANK< function (Requires T611 Elementary OLAP operations support) SQL EVERY, SOME, and ANY aggregates. Operates over   only, as the result can be NULL0, even if all inputs are known (no input rows). SQL EVERY, SOME, and ANY aggregates. Operates over   only, as the result can be NULL0, even if all inputs are known (no input rows). SQL EVERY, SOME, and ANY aggregates. Operates over   only, as the result can be NULL0, even if all inputs are known (no input rows). Support for FILTER (WHERE ...) syntax for aggregates. Part of SQL2003 Elementary OLAP operations feature (T611).See   for a version that accepts  . Like   but accepting  . SQL99  EVERY(ALL ..)( function (but without the explicit ALL) SQL99  SOME(ALL ..)( function (but without the explicit ALL) SQL99  ANY(ALL ..)( function (but without the explicit ALL)   for any  type. Adds every field in the type to the grouping key. This is the equivalent of including the grouping expression of each field in the type as part of the aggregate projection   for any  type. Adds every field in the type to the grouping key. This is the equivalent of including the grouping expression of each field in the type as part of the aggregate projection   for simple value expressions. Aggregate projectionQuery to aggregate over =None ")*/1378:=>*0  >None ")*/1378:=>' Represents a SQL DELETE statement for the given table Represents a SQL UPDATE statement for the given table. Represents a source of values that can be inserted into a table shaped like tbl. Represents a SQL INSERT" command that has not yet been run Represents a select statement in the given backend, returning rows of type a. -A version of the table where each field is a  Build a   for the given .  Create a   for a query which may have common table expressions. See the documentation of   for more details. #Convenience function to generate a  2 that looks up a table row given a primary key. Run a   in a  and get the results as a list Run a   in a  and get the unique result, if there is one. Both no results as well as more than one result cause this to return  . Run a   in a  and get the first result, if there is one. This is not guaranteed to automatically limit the query to one result. 9Use a special debug syntax to print out an ANSI Standard SELECT0 statement that may be generated for a given .  Generate a  $ over only certain fields of a table  Generate a  & given a table and a source of values. Run a   in a  Build a  % from series of expressions in tables Build a   from concrete table values Build a  4 from arbitrarily shaped data containing expressions Build a   from a   that returns the same table Build a  ? given a table, a list of assignments, and a way to build a WHERE clause.An internal implementation for   and  4 functions. Allows to choose boolean type in the WHERE clause. Build a  ? given a table, a list of assignments, and a way to build a WHERE clause.Use   for comparisons with  .See the   operator for ways to build assignments. The argument to the second argument is a the table parameterized over , which represents the left hand side of assignments. Sometimes, you'd like to also get the current value of a particular column. You can use the   function to convert a  to a . Build a  ? given a table, a list of assignments, and a way to build a WHERE clause.Uses a   comparison. Use   for comparisons with  .See the   operator for ways to build assignments. The argument to the second argument is a the table parameterized over , which represents the left hand side of assignments. Sometimes, you'd like to also get the current value of a particular column. You can use the   function to convert a  to a . A specialization of  / that matches the given (already existing) row.Use   for an internal   comparison. A specialization of  / that matches the given (already existing) row.Use   for an internal   comparison. A specialization of  + that is more convenient for normal tables.An internal implementation of   and  ' functions. Allows choosing between   and  . A specialization of  + that is more convenient for normal tables.Use   for comparisons with  . A specialization of  + that is more convenient for normal tables.Use   for comparisons with  . Convenience form of   that generates a WHERE7 clause that matches only the already existing entity.Use   for an internal   comparison. Convenience form of   that generates a WHERE7 clause that matches only the already existing entity.Uses   with a   comparison. Use   for an internal   comparison.  Use with   to set a field to an explicit new value that does not depend on any other value  Use with   to not modify the field  Use with   to set a field to a new value that is calculated based on one or more fields from the existing row  Use with   to optionally set a fiield to a new value, calculated based on one or more fields from the existing row  Generate a  ; that will update the given table row with the given value.The SQL UPDATE that is generated will set every non-primary key field for the row where each primary key field is exactly what is given.Note: This is a pure SQL UPDATE/ command. This does not upsert or merge values.Use   for an internal   comparison.  Generate a   that will update the given table row with the given value. This is a variant using   and a   comparison.The SQL UPDATE that is generated will set every non-primary key field for the row where each primary key field is exactly what is given.Note: This is a pure SQL UPDATE/ command. This does not upsert or merge values.Use   for an internal   comparison. Run a   in a . Build a  # from a table and a way to build a WHERE clause Run a   in a  Table to insert intoValues to insert. See  ,  ,  , and   for possibilities. Table to insert intoValues to insert. See  ,  , and   for possibilities. The table to insert into"A sequence of assignments to make.Build a WHERE, clause given a table containing expressions The table to insert into"A sequence of assignments to make.Build a WHERE, clause given a table containing expressions The table to insert into"A sequence of assignments to make.Build a WHERE, clause given a table containing expressions The table to insert intoThe row to update"A sequence of assignments to make. The table to insert intoThe row to update"A sequence of assignments to make. The table to updateUpdates to be made (use   to construct an empty field) The table to updateUpdates to be made (use   to construct an empty field) The table to updateUpdates to be made (use   to construct an empty field) The table to updateThe row to updateUpdates to be made (use   to construct an empty field) The table to updateThe row to updateUpdates to be made (use   to construct an empty field) Table to updateValue to set to Table to updateValue to set to Table to delete fromBuild a WHERE, clause given a table containing expressions    None ")*/1378:=> X *+,#  *+,FGNone! ")*/1378:=> Specifies the kind of constraint that must be violated for the action to occur What to do when an INSERT( statement inserts a row into the table tbl that violates a constraint. s that suppert returning rows that will be deleted by the given DELETE statement. Useful for deallocating resources based on the value of deleted rows. 0s that support returning the updated rows of an UPDATE statement. Useful for discovering the new values of the updated rows. 6s that support returning the newly created rows of an INSERT statement. Useful for discovering the real value of a defaulted value.    ?@A?BC?BD?BD?EFGHIGHJKLLLMNNOOPQRSTUVWXYZ[\]^_`abcdefghijklmnnopqrssstsuvwxyzw{w|w}~                                                                                                                                                                                                                                                                                                                                                                                                     ! $ " #                                                                                               )(++++++++              , , , , , , , , , , , , , , 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 121315141617189 9 999 9 9 9 9 9 9                                                                       : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : ; ; ; ; ; ; ; ; ; ; ; ; < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =                                                                                                 ?  ?     ?  ?   *   1 1 1 1 1  ?   : ?  < < <   beam-core-0.10.3.0-inplace Database.BeamDatabase.Beam.Schema.Tables%Database.Beam.Backend.Internal.CompatDatabase.Beam.Backend.SQL.TypesDatabase.Beam.Backend.TypesDatabase.Beam.Backend.SQL.RowDatabase.Beam.Backend.SQL.SQL92Database.Beam.Backend.SQL.SQL99!Database.Beam.Backend.SQL.SQL2003Database.Beam.Backend.SQL.ASTDatabase.Beam.Backend.SQL!Database.Beam.Backend.SQL.BuilderDatabase.Beam.Backend.URIDatabase.Beam.SchemaDatabase.Beam.Query.InternalDatabase.Beam.Query.SQL92Database.Beam.Query.TypesDatabase.Beam.QueryDatabase.Beam.Query.DataTypesDatabase.Beam.Query.CustomSQLDatabase.Beam.Query.CTEDatabase.Beam.Query.Adhoc(Database.Beam.Backend.SQL.BeamExtensions beam-core$dmfromBackendRow$dmvaluesNeeded $dmbetweenE$dmdeleteSupportsAlias $dmeqMaybeE $dmneqMaybeE$dmquantifierListEQuery$dmrunNoReturn$dmrunReturningFirst$dmrunReturningList$dmrunReturningOneDatabase.Beam.Backend Data.FunctorCompose$dmtblSkeleton$dmzipBeamFieldsM $dmzipTablesDatabase.Beam.Schema.LensesDatabase.Beam.Query.Operator3247Database.Beam.Query.Ord$dminRowValuesE $dmsqlEqE $dmsqlEqTriE $dmsqlNeqE $dmsqlNeqTriE $dmsqlQEqE $dmsqlQNeqEDatabase.Beam.Query.ExtractDatabase.Beam.Query.Combinators!Database.Beam.Query.RelationshipsDatabase.Beam.Query.AggregateDatabase.Beam.Query.Extensions8 ghc-internal#GHC.Internal.Data.Typeable.InternalTypeableGHC.Internal.GenericsGeneric:*:"GHC.Internal.Data.Functor.IdentityIdentitybaseControl.Monad.IO.ClassMonadIOliftIOPreferExplicitSize SqlSerialunSerial SqlBitStringSqlNull$fToJSONSqlSerial$fFromJSONSqlSerial$fShowSqlSerial$fReadSqlSerial $fEqSqlSerial$fOrdSqlSerial$fNumSqlSerial$fIntegralSqlSerial$fRealSqlSerial$fEnumSqlSerial$fShowSqlBitString$fEqSqlBitString$fOrdSqlBitString$fEnumSqlBitString$fBitsSqlBitString $fShowSqlNull $fEqSqlNull $fOrdSqlNull$fBoundedSqlNull $fEnumSqlNullNullableExposed BeamBackendBackendFromFieldGFromBackendRowgFromBackendRow gValuesNeededFromBackendRowfromBackendRow valuesNeededFromBackendRowMFromBackendRowF ParseOneFieldAlt FailParseWithBeamRowReadError brreError brreColumnColumnParseErrorColumnUnexpectedNullColumnNotEnoughColumnsColumnTypeMismatchColumnErrorInternal ctmMessage ctmSQLTypectmHaskellType parseOneField peekField$fExceptionBeamRowReadError$fAlternativeFromBackendRowM$fMonadFailFromBackendRowM$fMonadFromBackendRowM$fFunctorFromBackendRowF$fFromBackendRowbeSqlSerial$fFromBackendRowbeTagged$fFromBackendRowbeMaybe$fFromBackendRowbeVector$fFromBackendRowbetbl$fFromBackendRowbetbl0$fFromBackendRowbeTuple8$fFromBackendRowbeTuple7$fFromBackendRowbeTuple6$fFromBackendRowbeTuple5$fFromBackendRowbeTuple4$fFromBackendRowbeTuple3$fFromBackendRowbeTuple2$fFromBackendRowbeUnit$fGFromBackendRowbeK1K1$fGFromBackendRowbeK1K10$fGFromBackendRowbeK1K11$fGFromBackendRowbeK1K12$fGFromBackendRowbe:*::*:$fGFromBackendRowbeeU1$fGFromBackendRowbeM1M1$fFunctorFromBackendRowM$fApplicativeFromBackendRowM$fShowBeamRowReadError$fEqBeamRowReadError$fOrdBeamRowReadError$fShowColumnParseError$fEqColumnParseError$fOrdColumnParseError$fFromBackendRowbeIdentityIsSql92FromOuterJoinSyntax outerJoinIsSql92FromSyntaxSql92FromTableSourceSyntaxSql92FromExpressionSyntax fromTable innerJoinleftJoin rightJoinIsSql92GroupingSyntaxSql92GroupingExpressionSyntaxgroupByExpressionsIsSql92TableSourceSyntaxSql92TableSourceSelectSyntax Sql92TableSourceExpressionSyntaxSql92TableSourceTableNameSyntax tableNamedtableFromSubSelecttableFromValuesIsSql92TableNameSyntax tableNameIsSql92SchemaNameSyntax schemaNameIsSql92OrderingSyntaxSql92OrderingExpressionSyntax ascOrdering descOrderingIsSql92ProjectionSyntaxSql92ProjectionExpressionSyntax projExprs%IsSql92AggregationSetQuantifierSyntaxsetQuantifierDistinctsetQuantifierAll"IsSql92AggregationExpressionSyntax#Sql92AggregationSetQuantifierSyntax countAllEcountEavgEmaxEminEsumEIsSql92ExpressionSyntaxSql92ExpressionQuantifierSyntaxSql92ExpressionValueSyntaxSql92ExpressionSelectSyntaxSql92ExpressionFieldNameSyntaxSql92ExpressionCastTargetSyntax!Sql92ExpressionExtractFieldSyntaxvalueErowEquantifierListE coalesceEcaseEfieldEbetweenEandEorEaddEsubEmulEdivElikeEmodE overlapsEnullIfE positionEeqEneqEltEgtEleEgeEeqMaybeE neqMaybeEcastEnotEnegateEisNullE isNotNullEisTrueE isNotTrueEisFalseE isNotFalseE isUnknownE isNotUnknownE charLengthE octetLengthE bitLengthElowerEupperEtrimEabsEextractEexistsEuniqueE subqueryEcurrentTimestampEdefaultEinE inSelectEIsSql92DataTypeSyntax domainTypecharType varCharTypenationalCharTypenationalVarCharTypebitType varBitType numericType decimalTypeintType smallIntType floatType doubleTyperealTypedateTypetimeType timestampTypeIsSql92ExtractFieldSyntax secondsField minutesField hourFielddayField monthField yearFieldIsSql92QuantifierSyntaxquantifyOverAllquantifyOverAnyIsSql92FieldNameSyntaxqualifiedFieldunqualifiedFieldIsSql92DeleteSyntaxSql92DeleteTableNameSyntaxSql92DeleteExpressionSyntax deleteStmtdeleteSupportsAliasIsSql92UpdateSyntaxSql92UpdateTableNameSyntaxSql92UpdateFieldNameSyntaxSql92UpdateExpressionSyntax updateStmtIsSql92InsertValuesSyntax!Sql92InsertValuesExpressionSyntaxSql92InsertValuesSelectSyntaxinsertSqlExpressions insertFromSqlIsSql92InsertSyntaxSql92InsertValuesSyntaxSql92InsertTableNameSyntax insertStmtIsSql92SelectTableSyntaxSql92SelectTableSelectSyntax Sql92SelectTableExpressionSyntax Sql92SelectTableProjectionSyntaxSql92SelectTableFromSyntaxSql92SelectTableGroupingSyntax#Sql92SelectTableSetQuantifierSyntaxselectTableStmt unionTablesintersectTables exceptTableIsSql92SelectSyntaxSql92SelectSelectTableSyntaxSql92SelectOrderingSyntax selectStmt IsSql92SyntaxSql92SelectSyntaxSql92InsertSyntaxSql92UpdateSyntaxSql92DeleteSyntax selectCmd insertCmd updateCmd deleteCmdSql92DisplaySyntax displaySyntaxSql92ReasonableMarshallerSql92SanityCheckSql92SelectSanityCheckSql92HasValueSyntaxSql92ExtractFieldSyntaxSql92ExpressionSyntaxSql92ValueSyntaxSql92TableNameSyntaxSql92InsertExpressionSyntaxSql92SelectFromSyntaxSql92SelectGroupingSyntaxSql92SelectProjectionSyntaxSql92SelectExpressionSyntaxHasSqlValueSyntaxsqlValueSyntaxautoSqlValueSyntax$fHasSqlValueSyntaxvsTagged"$fHasSqlValueSyntaxsyntaxSqlSerial"IsSql99CommonTableExpressionSyntaxSql99CTESelectSyntaxcteSubquerySyntax1IsSql99RecursiveCommonTableExpressionSelectSyntaxwithRecursiveSyntax(IsSql99CommonTableExpressionSelectSyntaxSql99SelectCTESyntax withSyntaxIsSql99DataTypeSyntaxcharacterLargeObjectTypebinaryLargeObjectType booleanType arrayTyperowType"IsSql99AggregationExpressionSyntaxeveryEsomeEanyEIsSql99ConcatExpressionSyntaxconcatEIsSql99ExpressionSyntax distinctE similarToEinstanceFieldE refFieldEIsSql99FunctionExpressionSyntax functionCallE functionNameEIsSql99SelectSyntaxIsSql2008BigIntDataTypeSyntax bigIntType!IsSql2003NthValueExpressionSyntax nthValueE/IsSql2003FirstValueAndLastValueExpressionSyntax firstValueE lastValueE#IsSql2003LeadAndLagExpressionSyntaxleadElagEIsSql2003NtileExpressionSyntaxntileE*.<=*.>=*.SqlOrd<.>.<=.>=.HasTableEqualityHasSqlQuantifiedEqualityChecksqlQEqEsqlQNeqEHasSqlEqualityChecksqlEqEsqlNeqE sqlEqTriE sqlNeqTriESqlEqQuantified==*./=*.SqlEq==./=.==?./=?. HasSqlInTable inRowValuesESqlInin_ QQuantifiedsqlBool_isTrue_ isNotTrue_isFalse_ isNotFalse_ isUnknown_ isNotUnknown_ unknownAs_possiblyNullBool_fromPossiblyNullBool_allOf_allIn_anyOf_anyIn_between_inQuery_ HasSqlDate HasSqlTimeextract_hour_minutes_seconds_year_month_day_cast_intsmallintbigintbinary varbinarydatecharvarcharnationalVarchar nationalChardoublenumeric timestamptz timestamptimebooleancharacterLargeObjectbinaryLargeObjectarray maybeTypeIsCustomExprFn customExpr_IsCustomSqlSyntaxCustomSqlSyntaxcustomExprSyntax renderSyntax valueExpr_agg_#$fIsCustomSqlSyntaxSqlSyntaxBuilder$fIsStringCustomSqlSnippet$fMonoidCustomSqlSnippet$fSemigroupCustomSqlSnippet$fIsCustomExprFnFUNFUN($fIsCustomExprFnCustomSqlSnippetQGenExpr$fIsStringCustomSqlSyntax$fMonoidCustomSqlSyntax$fSemigroupCustomSqlSyntax ReusableQ QAnyScopeWithrunWith Recursiveness Nonrecursive RecursivereusableForCTE selectingreuse$fSemigroupRecursiveness$fMonoidRecursiveness$fMonadFixWith $fMonadWith$fApplicativeWith $fFunctorWith NamedFieldAdhoc AdhocTable mkAdhocFieldtable_field_ $fAdhocTuple8 $fAdhocTuple7 $fAdhocTuple6 $fAdhocTuple5 $fAdhocTuple4 $fAdhocTuple3 $fAdhocTuple2$fAdhocNamedFieldSqlDeconstructMaybeisJust_ isNothing_maybe_QIfElseQIfCond SqlJustablejust_nothing_ SqlOrderable SqlValableval_SqlValableTableHaskellLiteralForQExpr<-.all_ allFromView_values_join_join_'perhaps_ outerJoin_ outerJoin_' leftJoin_ leftJoin_' subselect_guard_guard_'filter_filter_'related_ relatedBy_ relatedBy_' references_ references_'nub_limit_offset_exists_unique_ distinct_ subquery_ charLength_ octetLength_ bitLength_currentTimestamp_ position_lower_upper_trim_current_union_ unionAll_ intersect_ intersectAll_except_ exceptAll_as_default_ noBounds_ fromBound_bounds_ unbounded_nrows_ noPartition_noOrder_ partitionBy_orderPartitionBy_frame_over_ withWindow_orderBy_ nullsFirst_ nullsLast_asc_desc_then_then_'else_if_ ifThenElse_bool_ coalesce_ fromMaybe_<|>.ManyToManyThrough ManyToManyOneToManyOptional OneToMaybe OneToManyOneToOne oneToMany_ oneToOne_oneToManyOptional_ oneToMaybe_ manyToMany_manyToManyPassthrough_ QGroupablegroup_ aggregate_ allInGroup_distinctInGroup_allInGroupExplicitly_min_max_avg_sum_ countAll_count_ cumeDist_ percentRank_ denseRank_ rowNumber_rank_minOver_maxOver_avgOver_sumOver_ countOver_ everyOver_ someOver_anyOver_ filterWhere_ filterWhere_'every_some_any_ntile_lead1_lag1_lead_lag_leadWithDefault_lagWithDefault_ firstValue_ lastValue_ nthValue_ln_exp_sqrt_ceiling_floor_**.stddevPopOver_stddevSampOver_ varPopOver_ varSampOver_ stddevPop_ stddevSamp_varPop_varSamp_ covarPopOver_covarSampOver_ corrOver_regrSlopeOver_regrInterceptOver_regrCountOver_regrRSquaredOver_ regrAvgYOver_ regrAvgXOver_ regrSXXOver_ regrSYYOver_ regrSXYOver_ covarPop_ covarSamp_corr_ regrSlope_regrIntercept_ regrCount_ regrRSquared_ regrAvgY_ regrAvgX_regrSXX_regrSYY_regrSXY_ SqlDelete SqlUpdateSqlIdentityUpdateSqlInsertValuesSqlInsertValuesEmpty SqlInsertSqlInsertNoRows SqlSelect QExprTable QGenExprTable QBaseScopeselect selectWithlookup_runSelectReturningListrunSelectReturningOnerunSelectReturningFirst dumpSqlSelect insertOnlyinsert runInsertinsertExpressions insertData insertFromupdateupdate' updateRow updateRow' updateTable'updateTableRowupdateTableRow'set setFieldsTo toNewValue toOldValuetoUpdatedValuetoUpdatedValueMaybesavesave' runUpdatedelete runDeleteBeamHasInsertOnConflictSqlConflictTargetSqlConflictActioninsertOnConflict anyConflictconflictingFieldsconflictingFieldsWhereonConflictDoNothingonConflictUpdateSetonConflictUpdateSetWhereMonadBeamDeleteReturningrunDeleteReturningListMonadBeamUpdateReturningrunUpdateReturningListMonadBeamInsertReturningrunInsertReturningListonConflictUpdateInsteadonConflictUpdateAll $fMonadBeamInsertReturningbeRWST!$fMonadBeamInsertReturningbeRWST0#$fMonadBeamInsertReturningbeWriterT$$fMonadBeamInsertReturningbeWriterT0"$fMonadBeamInsertReturningbeStateT#$fMonadBeamInsertReturningbeStateT0#$fMonadBeamInsertReturningbeReaderT!$fMonadBeamInsertReturningbeContT#$fMonadBeamInsertReturningbeExceptT $fMonadBeamUpdateReturningbeRWST!$fMonadBeamUpdateReturningbeRWST0#$fMonadBeamUpdateReturningbeWriterT$$fMonadBeamUpdateReturningbeWriterT0"$fMonadBeamUpdateReturningbeStateT#$fMonadBeamUpdateReturningbeStateT0#$fMonadBeamUpdateReturningbeReaderT!$fMonadBeamUpdateReturningbeContT#$fMonadBeamUpdateReturningbeExceptT $fMonadBeamDeleteReturningbeRWST!$fMonadBeamDeleteReturningbeRWST0#$fMonadBeamDeleteReturningbeWriterT$$fMonadBeamDeleteReturningbeWriterT0"$fMonadBeamDeleteReturningbeStateT#$fMonadBeamDeleteReturningbeStateT0#$fMonadBeamDeleteReturningbeReaderT!$fMonadBeamDeleteReturningbeContT#$fMonadBeamDeleteReturningbeExceptT"$fSemigroupInaccessibleQAssignment$fMonoidInaccessibleQAssignmentghc-prim GHC.TypesIntWordGHC.Internal.BaseStringGHC.Internal.MaybeNothingbytestring-0.12.1.0-f8cd Data.ByteString.Builder.InternalBuilderSubTableStrategytext-2.1.1-ac74Data.Text.InternalTextMaybeGHC.Internal.Data.StringIsStringunCamelCaseSelSelectBuilderQ sbSelectFn SelectStmtFnBool$fSqlEqQGenExprtbl0$fSqlEqQGenExprQGenExpr,$fSqlEqQuantifiedQGenExprQQuantifiedQGenExprHasTableEqualityNullableData.ByteString.Internal.Type ByteStringGHC.Internal.Control.Monad.FixMonadFixTrueallEGHC.Internal.RealIntegral$fQGroupabletbltbl$fQGroupabletbltbl0$fQGroupableQGenExprQGenExpr updateImplupdateTableImpl