beam-core 0.10.3.1 → 0.10.4.0
raw patch · 7 files changed
+123/−19 lines, 7 filesdep ~containersdep ~microlensPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: containers, microlens
API changes (from Hackage documentation)
- Database.Beam.Backend.SQL.AST: [selectLimit, selectOffset] :: Select -> Maybe Integer
- Database.Beam.Query: QExpr :: (TablePrefix -> BeamSqlBackendExpressionSyntax be) -> QGenExpr context be s t
- Database.Beam.Query: buildSqlQuery :: (HasQBuilder be, Projectible be a) => TablePrefix -> Q be db s a -> BeamSqlBackendSelectSyntax be
- Database.Beam.Query: class BeamSqlBackend be => HasQBuilder be
- Database.Beam.Query: data Q be (db :: (Type -> Type) -> Type) s a
- Database.Beam.Query: data QWindow be s
- Database.Beam.Query: newtype QGenExpr context be s t
- Database.Beam.Query: type Projectible be = ProjectibleWithPredicate AnyType be (WithExprContext (BeamSqlBackendExpressionSyntax' be))
- Database.Beam.Query: type QExpr = QGenExpr QValueContext
+ Database.Beam: ($dmfromBackendRow) :: (FromBackendRow be a, Typeable a, BackendFromField be a) => FromBackendRowM be a
+ Database.Beam.Backend.SQL.AST: [selectLimit] :: Select -> Maybe Integer
+ Database.Beam.Backend.SQL.AST: [selectOffset] :: Select -> Maybe Integer
+ Database.Beam.Backend.SQL.Row: ($dmfromBackendRow) :: (FromBackendRow be a, Typeable a, BackendFromField be a) => FromBackendRowM be a
+ Database.Beam.Backend.SQL.Types: instance GHC.Generics.Generic (Database.Beam.Backend.SQL.Types.SqlSerial a)
+ Database.Beam.Backend.SQL.Types: instance GHC.Generics.Generic Database.Beam.Backend.SQL.Types.SqlBitString
+ Database.Beam.Backend.SQL.Types: instance GHC.Generics.Generic Database.Beam.Backend.SQL.Types.SqlNull
+ Database.Beam.Query: limitMaybe_ :: forall s a be (db :: (Type -> Type) -> Type). (Projectible be a, ThreadRewritable (QNested s) a) => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: offsetMaybe_ :: forall s a be (db :: (Type -> Type) -> Type). (Projectible be a, ThreadRewritable (QNested s) a) => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Schema.Tables: ($dmtblSkeleton) :: (Beamable table, Generic (TableSkeleton table), GTableSkeleton (Rep (TableSkeleton table))) => TableSkeleton table
+ Database.Beam.Schema.Tables: ($dmzipBeamFieldsM) :: forall (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type) m. (Beamable table, HasBeamFields table f g h, Applicative m) => (forall a. () => Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> table f -> table g -> m (table h)
+ Database.Beam.Schema.Tables: data family DatabaseEntityDescriptor be entityType
+ Database.Beam.Schema.Tables: dbName :: forall be entityType (db :: (Type -> Type) -> Type). IsDatabaseEntity be entityType => Lens' (DatabaseEntity be db entityType) Text
+ Database.Beam.Schema.Tables: dbSchema :: forall be entityType (db :: (Type -> Type) -> Type). IsDatabaseEntity be entityType => Traversal' (DatabaseEntity be db entityType) (Maybe Text)
+ Database.Beam.Schema.Tables: dbTableFields :: forall be (db :: (Type -> Type) -> Type) table f. Functor f => (TableSettings table -> f (TableSettings table)) -> DatabaseEntity be db (TableEntity table) -> f (DatabaseEntity be db (TableEntity table))
- Database.Beam: class () => Generic a
+ Database.Beam: class Generic a
- Database.Beam: class (BeamBackend be, Monad m) => MonadBeam be m | m -> be
+ Database.Beam: class (BeamBackend be, Monad m) => MonadBeam be (m :: Type -> Type) | m -> be
- Database.Beam: class () => Typeable (a :: k)
+ Database.Beam: class Typeable (a :: k)
- Database.Beam: data () => Identity a
+ Database.Beam: data Identity a
- Database.Beam: fromBackendRow :: (FromBackendRow be a, Typeable a, BackendFromField be a) => FromBackendRowM be a
+ Database.Beam: fromBackendRow :: FromBackendRow be a => FromBackendRowM be a
- Database.Beam.Backend.SQL: class (BeamBackend be, IsSql92Syntax (BeamSqlBackendSyntax be), Sql92SanityCheck (BeamSqlBackendSyntax be), HasSqlValueSyntax (BeamSqlBackendValueSyntax be) Bool, HasSqlValueSyntax (BeamSqlBackendValueSyntax be) SqlNull, Eq (BeamSqlBackendExpressionSyntax be)) => BeamSqlBackend be
+ Database.Beam.Backend.SQL: class (BeamBackend be, IsSql92Syntax BeamSqlBackendSyntax be, Sql92SanityCheck BeamSqlBackendSyntax be, HasSqlValueSyntax BeamSqlBackendValueSyntax be Bool, HasSqlValueSyntax BeamSqlBackendValueSyntax be SqlNull, Eq BeamSqlBackendExpressionSyntax be) => BeamSqlBackend be
- Database.Beam.Backend.SQL: class BeamSqlBackendIsString be text
+ Database.Beam.Backend.SQL: class BeamSqlBackendIsString (be :: k) (text :: k1)
- Database.Beam.Backend.SQL: class (BeamBackend be, Monad m) => MonadBeam be m | m -> be
+ Database.Beam.Backend.SQL: class (BeamBackend be, Monad m) => MonadBeam be (m :: Type -> Type) | m -> be
- Database.Beam.Backend.SQL: data MockSqlBackend syntax
+ Database.Beam.Backend.SQL: data MockSqlBackend (syntax :: k)
- Database.Beam.Backend.SQL: type BeamSql2003ExpressionBackend be = (IsSql2003ExpressionSyntax (BeamSqlBackendExpressionSyntax be), Sql2003SanityCheck (BeamSqlBackendSyntax be))
+ Database.Beam.Backend.SQL: type BeamSql2003ExpressionBackend be = (IsSql2003ExpressionSyntax BeamSqlBackendExpressionSyntax be, Sql2003SanityCheck BeamSqlBackendSyntax be)
- Database.Beam.Backend.SQL: type BeamSql99AggregationBackend be = IsSql99AggregationExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSql99AggregationBackend be = IsSql99AggregationExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSql99BackendCTESyntax be = Sql99SelectCTESyntax (BeamSqlBackendSelectSyntax be)
+ Database.Beam.Backend.SQL: type BeamSql99BackendCTESyntax be = Sql99SelectCTESyntax BeamSqlBackendSelectSyntax be
- Database.Beam.Backend.SQL: type BeamSql99CommonTableExpressionBackend be = (BeamSqlBackend be, IsSql99CommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be), IsSql99CommonTableExpressionSyntax (BeamSql99BackendCTESyntax be), Sql99CTESelectSyntax (BeamSql99BackendCTESyntax be) ~ BeamSqlBackendSelectSyntax be)
+ Database.Beam.Backend.SQL: type BeamSql99CommonTableExpressionBackend be = (BeamSqlBackend be, IsSql99CommonTableExpressionSelectSyntax BeamSqlBackendSelectSyntax be, IsSql99CommonTableExpressionSyntax BeamSql99BackendCTESyntax be, Sql99CTESelectSyntax BeamSql99BackendCTESyntax be ~ BeamSqlBackendSelectSyntax be)
- Database.Beam.Backend.SQL: type BeamSql99ConcatExpressionBackend be = IsSql99ConcatExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSql99ConcatExpressionBackend be = IsSql99ConcatExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSql99DataTypeBackend be = (BeamSqlBackend be, IsSql99DataTypeSyntax (BeamSqlBackendCastTargetSyntax be))
+ Database.Beam.Backend.SQL: type BeamSql99DataTypeBackend be = (BeamSqlBackend be, IsSql99DataTypeSyntax BeamSqlBackendCastTargetSyntax be)
- Database.Beam.Backend.SQL: type BeamSql99ExpressionBackend be = IsSql99ExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSql99ExpressionBackend be = IsSql99ExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSql99RecursiveCTEBackend be = (BeamSql99CommonTableExpressionBackend be, IsSql99RecursiveCommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be))
+ Database.Beam.Backend.SQL: type BeamSql99RecursiveCTEBackend be = (BeamSql99CommonTableExpressionBackend be, IsSql99RecursiveCommonTableExpressionSelectSyntax BeamSqlBackendSelectSyntax be)
- Database.Beam.Backend.SQL: type BeamSqlBackendAggregationQuantifierSyntax be = Sql92AggregationSetQuantifierSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendAggregationQuantifierSyntax be = Sql92AggregationSetQuantifierSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendCanSerialize be = HasSqlValueSyntax (BeamSqlBackendValueSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendCanSerialize be = HasSqlValueSyntax BeamSqlBackendValueSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendCastTargetSyntax be = Sql92ExpressionCastTargetSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendCastTargetSyntax be = Sql92ExpressionCastTargetSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendDataTypeSyntax be = Sql92ExpressionCastTargetSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendDataTypeSyntax be = Sql92ExpressionCastTargetSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendDeleteSyntax be = Sql92DeleteSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendDeleteSyntax be = Sql92DeleteSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendExpressionQuantifierSyntax be = Sql92ExpressionQuantifierSyntax (Sql92ExpressionSyntax (BeamSqlBackendSyntax be))
+ Database.Beam.Backend.SQL: type BeamSqlBackendExpressionQuantifierSyntax be = Sql92ExpressionQuantifierSyntax Sql92ExpressionSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendExpressionSyntax be = Sql92ExpressionSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendExpressionSyntax be = Sql92ExpressionSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendFieldNameSyntax be = Sql92ExpressionFieldNameSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendFieldNameSyntax be = Sql92ExpressionFieldNameSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendFromSyntax be = Sql92SelectFromSyntax (BeamSqlBackendSelectSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendFromSyntax be = Sql92SelectFromSyntax BeamSqlBackendSelectSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendGroupingSyntax be = Sql92SelectTableGroupingSyntax (BeamSqlBackendSelectTableSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendGroupingSyntax be = Sql92SelectTableGroupingSyntax BeamSqlBackendSelectTableSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendInsertSyntax be = Sql92InsertSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendInsertSyntax be = Sql92InsertSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendInsertValuesSyntax be = Sql92InsertValuesSyntax (BeamSqlBackendInsertSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendInsertValuesSyntax be = Sql92InsertValuesSyntax BeamSqlBackendInsertSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendOrderingSyntax be = Sql92SelectOrderingSyntax (BeamSqlBackendSelectSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendOrderingSyntax be = Sql92SelectOrderingSyntax BeamSqlBackendSelectSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendSelectSyntax be = Sql92SelectSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendSelectSyntax be = Sql92SelectSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendSelectTableSyntax be = Sql92SelectSelectTableSyntax (BeamSqlBackendSelectSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendSelectTableSyntax be = Sql92SelectSelectTableSyntax BeamSqlBackendSelectSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendSetQuantifierSyntax be = Sql92SelectTableSetQuantifierSyntax (BeamSqlBackendSelectTableSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendSetQuantifierSyntax be = Sql92SelectTableSetQuantifierSyntax BeamSqlBackendSelectTableSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendSupportsOuterJoin be = IsSql92FromOuterJoinSyntax (BeamSqlBackendFromSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendSupportsOuterJoin be = IsSql92FromOuterJoinSyntax BeamSqlBackendFromSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendTableNameSyntax be = Sql92TableSourceTableNameSyntax (Sql92FromTableSourceSyntax (BeamSqlBackendFromSyntax be))
+ Database.Beam.Backend.SQL: type BeamSqlBackendTableNameSyntax be = Sql92TableSourceTableNameSyntax Sql92FromTableSourceSyntax BeamSqlBackendFromSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendUpdateSyntax be = Sql92UpdateSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendUpdateSyntax be = Sql92UpdateSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendValueSyntax be = Sql92ValueSyntax (BeamSqlBackendSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendValueSyntax be = Sql92ValueSyntax BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameBoundSyntax be = Sql2003WindowFrameBoundsBoundSyntax (BeamSqlBackendWindowFrameBoundsSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameBoundSyntax be = Sql2003WindowFrameBoundsBoundSyntax BeamSqlBackendWindowFrameBoundsSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameBoundsSyntax be = Sql2003WindowFrameBoundsSyntax (BeamSqlBackendWindowFrameSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameBoundsSyntax be = Sql2003WindowFrameBoundsSyntax BeamSqlBackendWindowFrameSyntax be
- Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameSyntax be = Sql2003ExpressionWindowFrameSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlBackendWindowFrameSyntax be = Sql2003ExpressionWindowFrameSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT021Backend be = IsSql2003BinaryAndVarBinaryDataTypeSyntax (BeamSqlBackendCastTargetSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT021Backend be = IsSql2003BinaryAndVarBinaryDataTypeSyntax BeamSqlBackendCastTargetSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT071Backend be = IsSql2008BigIntDataTypeSyntax (BeamSqlBackendCastTargetSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT071Backend be = IsSql2008BigIntDataTypeSyntax BeamSqlBackendCastTargetSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT611Backend be = IsSql2003ExpressionElementaryOLAPOperationsSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT611Backend be = IsSql2003ExpressionElementaryOLAPOperationsSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT612Backend be = IsSql2003ExpressionAdvancedOLAPOperationsSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT612Backend be = IsSql2003ExpressionAdvancedOLAPOperationsSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT614Backend be = IsSql2003NtileExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT614Backend be = IsSql2003NtileExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT615Backend be = IsSql2003LeadAndLagExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT615Backend be = IsSql2003LeadAndLagExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT616Backend be = IsSql2003FirstValueAndLastValueExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT616Backend be = IsSql2003FirstValueAndLastValueExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT618Backend be = IsSql2003NthValueExpressionSyntax (BeamSqlBackendExpressionSyntax be)
+ Database.Beam.Backend.SQL: type BeamSqlT618Backend be = IsSql2003NthValueExpressionSyntax BeamSqlBackendExpressionSyntax be
- Database.Beam.Backend.SQL: type BeamSqlT621Backend be = (IsSql2003EnhancedNumericFunctionsExpressionSyntax (BeamSqlBackendExpressionSyntax be), IsSql2003EnhancedNumericFunctionsAggregationExpressionSyntax (BeamSqlBackendExpressionSyntax be))
+ Database.Beam.Backend.SQL: type BeamSqlT621Backend be = (IsSql2003EnhancedNumericFunctionsExpressionSyntax BeamSqlBackendExpressionSyntax be, IsSql2003EnhancedNumericFunctionsAggregationExpressionSyntax BeamSqlBackendExpressionSyntax be)
- Database.Beam.Backend.SQL: type family BeamSqlBackendSyntax be :: Type
+ Database.Beam.Backend.SQL: type family BeamSqlBackendSyntax be
- Database.Beam.Backend.SQL.AST: Select :: SelectTable -> [Ordering] -> Maybe Integer -> Select
+ Database.Beam.Backend.SQL.AST: Select :: SelectTable -> [Ordering] -> Maybe Integer -> Maybe Integer -> Select
- Database.Beam.Backend.SQL.AST: [Value] :: (Show a, Eq a, Typeable a) => a -> Value
+ Database.Beam.Backend.SQL.AST: [Value] :: forall a. (Show a, Eq a, Typeable a) => a -> Value
- Database.Beam.Backend.SQL.BeamExtensions: anyConflict :: BeamHasInsertOnConflict be => SqlConflictTarget be table
+ Database.Beam.Backend.SQL.BeamExtensions: anyConflict :: forall (table :: (Type -> Type) -> Type). BeamHasInsertOnConflict be => SqlConflictTarget be table
- Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamDeleteReturning be m | m -> be
+ Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamDeleteReturning be (m :: Type -> Type) | m -> be
- Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamInsertReturning be m | m -> be
+ Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamInsertReturning be (m :: Type -> Type) | m -> be
- Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamUpdateReturning be m | m -> be
+ Database.Beam.Backend.SQL.BeamExtensions: class MonadBeam be m => MonadBeamUpdateReturning be (m :: Type -> Type) | m -> be
- Database.Beam.Backend.SQL.BeamExtensions: conflictingFieldsWhere :: (BeamHasInsertOnConflict be, Projectible be proj) => (table (QExpr be QInternal) -> proj) -> (forall s. table (QExpr be s) -> QExpr be s Bool) -> SqlConflictTarget be table
+ Database.Beam.Backend.SQL.BeamExtensions: conflictingFieldsWhere :: (BeamHasInsertOnConflict be, Projectible be proj) => (table (QExpr be QInternal) -> proj) -> (forall s. () => table (QExpr be s) -> QExpr be s Bool) -> SqlConflictTarget be table
- Database.Beam.Backend.SQL.BeamExtensions: data SqlConflictAction be (table :: (Type -> Type) -> Type) :: Type;
+ Database.Beam.Backend.SQL.BeamExtensions: data SqlConflictAction be (table :: Type -> Type -> Type);
- Database.Beam.Backend.SQL.BeamExtensions: data SqlConflictTarget be (table :: (Type -> Type) -> Type) :: Type;
+ Database.Beam.Backend.SQL.BeamExtensions: data SqlConflictTarget be (table :: Type -> Type -> Type);
- Database.Beam.Backend.SQL.BeamExtensions: insertOnConflict :: (BeamHasInsertOnConflict be, Beamable table) => DatabaseEntity be db (TableEntity table) -> SqlInsertValues be (table (QExpr be s)) -> SqlConflictTarget be table -> SqlConflictAction be table -> SqlInsert be table
+ Database.Beam.Backend.SQL.BeamExtensions: insertOnConflict :: forall table (db :: (Type -> Type) -> Type) s. (BeamHasInsertOnConflict be, Beamable table) => DatabaseEntity be db (TableEntity table) -> SqlInsertValues be (table (QExpr be s)) -> SqlConflictTarget be table -> SqlConflictAction be table -> SqlInsert be table
- Database.Beam.Backend.SQL.BeamExtensions: onConflictDoNothing :: BeamHasInsertOnConflict be => SqlConflictAction be table
+ Database.Beam.Backend.SQL.BeamExtensions: onConflictDoNothing :: forall (table :: (Type -> Type) -> Type). BeamHasInsertOnConflict be => SqlConflictAction be table
- Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateAll :: forall be table. (BeamHasInsertOnConflict be, Beamable table) => SqlConflictAction be table
+ Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateAll :: forall be (table :: (Type -> Type) -> Type). (BeamHasInsertOnConflict be, Beamable table) => SqlConflictAction be table
- Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateInstead :: forall be table proj. (BeamHasInsertOnConflict be, Beamable table, ProjectibleWithPredicate AnyType () (InaccessibleQAssignment be) proj) => (table (Const (InaccessibleQAssignment be)) -> proj) -> SqlConflictAction be table
+ Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateInstead :: (BeamHasInsertOnConflict be, Beamable table, ProjectibleWithPredicate AnyType () (InaccessibleQAssignment be) proj) => (table (Const (InaccessibleQAssignment be) :: Type -> Type) -> proj) -> SqlConflictAction be table
- Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateSet :: (BeamHasInsertOnConflict be, Beamable table) => (forall s. table (QField s) -> table (QExpr be s) -> QAssignment be s) -> SqlConflictAction be table
+ Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateSet :: (BeamHasInsertOnConflict be, Beamable table) => (forall s. () => table (QField s) -> table (QExpr be s) -> QAssignment be s) -> SqlConflictAction be table
- Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateSetWhere :: (BeamHasInsertOnConflict be, Beamable table) => (forall s. table (QField s) -> table (QExpr be s) -> QAssignment be s) -> (forall s. table (QField s) -> table (QExpr be s) -> QExpr be s Bool) -> SqlConflictAction be table
+ Database.Beam.Backend.SQL.BeamExtensions: onConflictUpdateSetWhere :: (BeamHasInsertOnConflict be, Beamable table) => (forall s. () => table (QField s) -> table (QExpr be s) -> QAssignment be s) -> (forall s. () => table (QField s) -> table (QExpr be s) -> QExpr be s Bool) -> SqlConflictAction be table
- Database.Beam.Backend.SQL.Row: [Alt] :: FromBackendRowM be a -> FromBackendRowM be a -> (a -> f) -> FromBackendRowF be f
+ Database.Beam.Backend.SQL.Row: [Alt] :: forall be a f. FromBackendRowM be a -> FromBackendRowM be a -> (a -> f) -> FromBackendRowF be f
- Database.Beam.Backend.SQL.Row: [FailParseWith] :: BeamRowReadError -> FromBackendRowF be f
+ Database.Beam.Backend.SQL.Row: [FailParseWith] :: forall be f. BeamRowReadError -> FromBackendRowF be f
- Database.Beam.Backend.SQL.Row: [ParseOneField] :: (BackendFromField be a, Typeable a) => (a -> f) -> FromBackendRowF be f
+ Database.Beam.Backend.SQL.Row: [ParseOneField] :: forall be a f. (BackendFromField be a, Typeable a) => (a -> f) -> FromBackendRowF be f
- Database.Beam.Backend.SQL.Row: class GFromBackendRow be (exposed :: Type -> Type) rep
+ Database.Beam.Backend.SQL.Row: class GFromBackendRow be (exposed :: Type -> Type) (rep :: Type -> Type)
- Database.Beam.Backend.SQL.Row: fromBackendRow :: (FromBackendRow be a, Typeable a, BackendFromField be a) => FromBackendRowM be a
+ Database.Beam.Backend.SQL.Row: fromBackendRow :: FromBackendRow be a => FromBackendRowM be a
- Database.Beam.Backend.SQL.SQL2003: class (IsSql99ExpressionSyntax expr, IsSql2003WindowFrameSyntax (Sql2003ExpressionWindowFrameSyntax expr)) => IsSql2003ExpressionSyntax expr where {
+ Database.Beam.Backend.SQL.SQL2003: class (IsSql99ExpressionSyntax expr, IsSql2003WindowFrameSyntax Sql2003ExpressionWindowFrameSyntax expr) => IsSql2003ExpressionSyntax expr where {
- Database.Beam.Backend.SQL.SQL2003: class IsSql2003WindowFrameBoundSyntax (Sql2003WindowFrameBoundsBoundSyntax bounds) => IsSql2003WindowFrameBoundsSyntax bounds where {
+ Database.Beam.Backend.SQL.SQL2003: class IsSql2003WindowFrameBoundSyntax Sql2003WindowFrameBoundsBoundSyntax bounds => IsSql2003WindowFrameBoundsSyntax bounds where {
- Database.Beam.Backend.SQL.SQL2003: class IsSql2003WindowFrameBoundsSyntax (Sql2003WindowFrameBoundsSyntax frame) => IsSql2003WindowFrameSyntax frame where {
+ Database.Beam.Backend.SQL.SQL2003: class IsSql2003WindowFrameBoundsSyntax Sql2003WindowFrameBoundsSyntax frame => IsSql2003WindowFrameSyntax frame where {
- Database.Beam.Backend.SQL.SQL2003: type Sql2003ExpressionWindowFrameSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003ExpressionWindowFrameSyntax expr;
- Database.Beam.Backend.SQL.SQL2003: type Sql2003FromSampleMethodSyntax from :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003FromSampleMethodSyntax from;
- Database.Beam.Backend.SQL.SQL2003: type Sql2003SanityCheck syntax = (Sql92ExpressionSyntax syntax ~ Sql2003WindowFrameExpressionSyntax (Sql2003ExpressionWindowFrameSyntax (Sql92ExpressionSyntax syntax)), Sql92SelectOrderingSyntax (Sql92SelectSyntax syntax) ~ Sql2003WindowFrameOrderingSyntax (Sql2003ExpressionWindowFrameSyntax (Sql92ExpressionSyntax syntax)))
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003SanityCheck syntax = (Sql92ExpressionSyntax syntax ~ Sql2003WindowFrameExpressionSyntax Sql2003ExpressionWindowFrameSyntax Sql92ExpressionSyntax syntax, Sql92SelectOrderingSyntax Sql92SelectSyntax syntax ~ Sql2003WindowFrameOrderingSyntax Sql2003ExpressionWindowFrameSyntax Sql92ExpressionSyntax syntax)
- Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameBoundsBoundSyntax bounds :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameBoundsBoundSyntax bounds;
- Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameBoundsSyntax frame :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameBoundsSyntax frame;
- Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameExpressionSyntax frame :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameExpressionSyntax frame;
- Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameOrderingSyntax frame :: Type;
+ Database.Beam.Backend.SQL.SQL2003: type Sql2003WindowFrameOrderingSyntax frame;
- Database.Beam.Backend.SQL.SQL92: class IsSql92AggregationSetQuantifierSyntax (Sql92AggregationSetQuantifierSyntax expr) => IsSql92AggregationExpressionSyntax expr where {
+ Database.Beam.Backend.SQL.SQL92: class IsSql92AggregationSetQuantifierSyntax Sql92AggregationSetQuantifierSyntax expr => IsSql92AggregationExpressionSyntax expr where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92TableNameSyntax (Sql92DeleteTableNameSyntax delete), IsSql92ExpressionSyntax (Sql92DeleteExpressionSyntax delete)) => IsSql92DeleteSyntax delete where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92TableNameSyntax Sql92DeleteTableNameSyntax delete, IsSql92ExpressionSyntax Sql92DeleteExpressionSyntax delete) => IsSql92DeleteSyntax delete where {
- Database.Beam.Backend.SQL.SQL92: class (HasSqlValueSyntax (Sql92ExpressionValueSyntax expr) Int32, HasSqlValueSyntax (Sql92ExpressionValueSyntax expr) Bool, IsSql92FieldNameSyntax (Sql92ExpressionFieldNameSyntax expr), IsSql92QuantifierSyntax (Sql92ExpressionQuantifierSyntax expr), IsSql92DataTypeSyntax (Sql92ExpressionCastTargetSyntax expr), IsSql92ExtractFieldSyntax (Sql92ExpressionExtractFieldSyntax expr), Typeable expr) => IsSql92ExpressionSyntax expr where {
+ Database.Beam.Backend.SQL.SQL92: class (HasSqlValueSyntax Sql92ExpressionValueSyntax expr Int32, HasSqlValueSyntax Sql92ExpressionValueSyntax expr Bool, IsSql92FieldNameSyntax Sql92ExpressionFieldNameSyntax expr, IsSql92QuantifierSyntax Sql92ExpressionQuantifierSyntax expr, IsSql92DataTypeSyntax Sql92ExpressionCastTargetSyntax expr, IsSql92ExtractFieldSyntax Sql92ExpressionExtractFieldSyntax expr, Typeable expr) => IsSql92ExpressionSyntax expr where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92TableSourceSyntax (Sql92FromTableSourceSyntax from), IsSql92ExpressionSyntax (Sql92FromExpressionSyntax from)) => IsSql92FromSyntax from where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92TableSourceSyntax Sql92FromTableSourceSyntax from, IsSql92ExpressionSyntax Sql92FromExpressionSyntax from) => IsSql92FromSyntax from where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92InsertValuesSyntax (Sql92InsertValuesSyntax insert), IsSql92TableNameSyntax (Sql92InsertTableNameSyntax insert)) => IsSql92InsertSyntax insert where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92InsertValuesSyntax Sql92InsertValuesSyntax insert, IsSql92TableNameSyntax Sql92InsertTableNameSyntax insert) => IsSql92InsertSyntax insert where {
- Database.Beam.Backend.SQL.SQL92: class IsSql92ExpressionSyntax (Sql92InsertValuesExpressionSyntax insertValues) => IsSql92InsertValuesSyntax insertValues where {
+ Database.Beam.Backend.SQL.SQL92: class IsSql92ExpressionSyntax Sql92InsertValuesExpressionSyntax insertValues => IsSql92InsertValuesSyntax insertValues where {
- Database.Beam.Backend.SQL.SQL92: class IsSql92ExpressionSyntax (Sql92ProjectionExpressionSyntax proj) => IsSql92ProjectionSyntax proj where {
+ Database.Beam.Backend.SQL.SQL92: class IsSql92ExpressionSyntax Sql92ProjectionExpressionSyntax proj => IsSql92ProjectionSyntax proj where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92SelectTableSyntax (Sql92SelectSelectTableSyntax select), IsSql92OrderingSyntax (Sql92SelectOrderingSyntax select)) => IsSql92SelectSyntax select where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92SelectTableSyntax Sql92SelectSelectTableSyntax select, IsSql92OrderingSyntax Sql92SelectOrderingSyntax select) => IsSql92SelectSyntax select where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92ExpressionSyntax (Sql92SelectTableExpressionSyntax select), IsSql92AggregationExpressionSyntax (Sql92SelectTableExpressionSyntax select), IsSql92ProjectionSyntax (Sql92SelectTableProjectionSyntax select), IsSql92FromSyntax (Sql92SelectTableFromSyntax select), IsSql92GroupingSyntax (Sql92SelectTableGroupingSyntax select), IsSql92AggregationSetQuantifierSyntax (Sql92SelectTableSetQuantifierSyntax select), Sql92GroupingExpressionSyntax (Sql92SelectTableGroupingSyntax select) ~ Sql92SelectTableExpressionSyntax select, Sql92FromExpressionSyntax (Sql92SelectTableFromSyntax select) ~ Sql92SelectTableExpressionSyntax select, Sql92SelectSelectTableSyntax (Sql92SelectTableSelectSyntax select) ~ select, Eq (Sql92SelectTableExpressionSyntax select)) => IsSql92SelectTableSyntax select where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92ExpressionSyntax Sql92SelectTableExpressionSyntax select, IsSql92AggregationExpressionSyntax Sql92SelectTableExpressionSyntax select, IsSql92ProjectionSyntax Sql92SelectTableProjectionSyntax select, IsSql92FromSyntax Sql92SelectTableFromSyntax select, IsSql92GroupingSyntax Sql92SelectTableGroupingSyntax select, IsSql92AggregationSetQuantifierSyntax Sql92SelectTableSetQuantifierSyntax select, Sql92GroupingExpressionSyntax Sql92SelectTableGroupingSyntax select ~ Sql92SelectTableExpressionSyntax select, Sql92FromExpressionSyntax Sql92SelectTableFromSyntax select ~ Sql92SelectTableExpressionSyntax select, Sql92SelectSelectTableSyntax Sql92SelectTableSelectSyntax select ~ select, Eq Sql92SelectTableExpressionSyntax select) => IsSql92SelectTableSyntax select where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92SelectSyntax (Sql92SelectSyntax cmd), IsSql92InsertSyntax (Sql92InsertSyntax cmd), IsSql92UpdateSyntax (Sql92UpdateSyntax cmd), IsSql92DeleteSyntax (Sql92DeleteSyntax cmd)) => IsSql92Syntax cmd where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92SelectSyntax Sql92SelectSyntax cmd, IsSql92InsertSyntax Sql92InsertSyntax cmd, IsSql92UpdateSyntax Sql92UpdateSyntax cmd, IsSql92DeleteSyntax Sql92DeleteSyntax cmd) => IsSql92Syntax cmd where {
- Database.Beam.Backend.SQL.SQL92: class IsSql92TableNameSyntax (Sql92TableSourceTableNameSyntax tblSource) => IsSql92TableSourceSyntax tblSource where {
+ Database.Beam.Backend.SQL.SQL92: class IsSql92TableNameSyntax Sql92TableSourceTableNameSyntax tblSource => IsSql92TableSourceSyntax tblSource where {
- Database.Beam.Backend.SQL.SQL92: class (IsSql92ExpressionSyntax (Sql92UpdateExpressionSyntax update), IsSql92FieldNameSyntax (Sql92UpdateFieldNameSyntax update), IsSql92TableNameSyntax (Sql92UpdateTableNameSyntax update)) => IsSql92UpdateSyntax update where {
+ Database.Beam.Backend.SQL.SQL92: class (IsSql92ExpressionSyntax Sql92UpdateExpressionSyntax update, IsSql92FieldNameSyntax Sql92UpdateFieldNameSyntax update, IsSql92TableNameSyntax Sql92UpdateTableNameSyntax update) => IsSql92UpdateSyntax update where {
- Database.Beam.Backend.SQL.SQL92: type Sql92AggregationSetQuantifierSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92AggregationSetQuantifierSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92DeleteExpressionSyntax delete :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92DeleteExpressionSyntax delete;
- Database.Beam.Backend.SQL.SQL92: type Sql92DeleteSyntax cmd :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92DeleteSyntax cmd;
- Database.Beam.Backend.SQL.SQL92: type Sql92DeleteTableNameSyntax delete :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92DeleteTableNameSyntax delete;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionCastTargetSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionCastTargetSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionExtractFieldSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionExtractFieldSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionFieldNameSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionFieldNameSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionQuantifierSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionQuantifierSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionSelectSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionSelectSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionSyntax cmdSyntax = Sql92SelectExpressionSyntax (Sql92SelectSyntax cmdSyntax)
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionSyntax cmdSyntax = Sql92SelectExpressionSyntax Sql92SelectSyntax cmdSyntax
- Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionValueSyntax expr :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExpressionValueSyntax expr;
- Database.Beam.Backend.SQL.SQL92: type Sql92ExtractFieldSyntax cmdSyntax = Sql92ExpressionExtractFieldSyntax (Sql92ExpressionSyntax cmdSyntax)
+ Database.Beam.Backend.SQL.SQL92: type Sql92ExtractFieldSyntax cmdSyntax = Sql92ExpressionExtractFieldSyntax Sql92ExpressionSyntax cmdSyntax
- Database.Beam.Backend.SQL.SQL92: type Sql92FromExpressionSyntax from :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92FromExpressionSyntax from;
- Database.Beam.Backend.SQL.SQL92: type Sql92FromTableSourceSyntax from :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92FromTableSourceSyntax from;
- Database.Beam.Backend.SQL.SQL92: type Sql92GroupingExpressionSyntax grouping :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92GroupingExpressionSyntax grouping;
- Database.Beam.Backend.SQL.SQL92: type Sql92HasValueSyntax cmdSyntax = HasSqlValueSyntax (Sql92ValueSyntax cmdSyntax)
+ Database.Beam.Backend.SQL.SQL92: type Sql92HasValueSyntax cmdSyntax = HasSqlValueSyntax Sql92ValueSyntax cmdSyntax
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertExpressionSyntax select = Sql92InsertValuesExpressionSyntax (Sql92InsertValuesSyntax select)
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertExpressionSyntax select = Sql92InsertValuesExpressionSyntax Sql92InsertValuesSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertSyntax cmd :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertSyntax cmd;
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertTableNameSyntax insert :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertTableNameSyntax insert;
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesExpressionSyntax insertValues :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesExpressionSyntax insertValues;
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesSelectSyntax insertValues :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesSelectSyntax insertValues;
- Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesSyntax insert :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92InsertValuesSyntax insert;
- Database.Beam.Backend.SQL.SQL92: type Sql92OrderingExpressionSyntax ord :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92OrderingExpressionSyntax ord;
- Database.Beam.Backend.SQL.SQL92: type Sql92ProjectionExpressionSyntax proj :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92ProjectionExpressionSyntax proj;
- Database.Beam.Backend.SQL.SQL92: type Sql92SanityCheck cmd = (Sql92SelectSanityCheck (Sql92SelectSyntax cmd), Sql92ExpressionValueSyntax (Sql92InsertValuesExpressionSyntax (Sql92InsertValuesSyntax (Sql92InsertSyntax cmd))) ~ Sql92ValueSyntax cmd, Sql92ExpressionValueSyntax (Sql92UpdateExpressionSyntax (Sql92UpdateSyntax cmd)) ~ Sql92ValueSyntax cmd, Sql92ExpressionValueSyntax (Sql92DeleteExpressionSyntax (Sql92DeleteSyntax cmd)) ~ Sql92ValueSyntax cmd, Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax (Sql92SelectSyntax cmd)) ~ Sql92InsertValuesExpressionSyntax (Sql92InsertValuesSyntax (Sql92InsertSyntax cmd)), Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax (Sql92SelectSyntax cmd)) ~ Sql92UpdateExpressionSyntax (Sql92UpdateSyntax cmd), Sql92DeleteExpressionSyntax (Sql92DeleteSyntax cmd) ~ Sql92UpdateExpressionSyntax (Sql92UpdateSyntax cmd), Sql92ExpressionSelectSyntax (Sql92InsertExpressionSyntax (Sql92InsertSyntax cmd)) ~ Sql92SelectSyntax cmd, Sql92InsertValuesSelectSyntax (Sql92InsertValuesSyntax (Sql92InsertSyntax cmd)) ~ Sql92SelectSyntax cmd, Sql92UpdateFieldNameSyntax (Sql92UpdateSyntax cmd) ~ Sql92ExpressionFieldNameSyntax (Sql92InsertValuesExpressionSyntax (Sql92InsertValuesSyntax (Sql92InsertSyntax cmd))))
+ Database.Beam.Backend.SQL.SQL92: type Sql92SanityCheck cmd = (Sql92SelectSanityCheck Sql92SelectSyntax cmd, Sql92ExpressionValueSyntax Sql92InsertValuesExpressionSyntax Sql92InsertValuesSyntax Sql92InsertSyntax cmd ~ Sql92ValueSyntax cmd, Sql92ExpressionValueSyntax Sql92UpdateExpressionSyntax Sql92UpdateSyntax cmd ~ Sql92ValueSyntax cmd, Sql92ExpressionValueSyntax Sql92DeleteExpressionSyntax Sql92DeleteSyntax cmd ~ Sql92ValueSyntax cmd, Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax Sql92SelectSyntax cmd ~ Sql92InsertValuesExpressionSyntax Sql92InsertValuesSyntax Sql92InsertSyntax cmd, Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax Sql92SelectSyntax cmd ~ Sql92UpdateExpressionSyntax Sql92UpdateSyntax cmd, Sql92DeleteExpressionSyntax Sql92DeleteSyntax cmd ~ Sql92UpdateExpressionSyntax Sql92UpdateSyntax cmd, Sql92ExpressionSelectSyntax Sql92InsertExpressionSyntax Sql92InsertSyntax cmd ~ Sql92SelectSyntax cmd, Sql92InsertValuesSelectSyntax Sql92InsertValuesSyntax Sql92InsertSyntax cmd ~ Sql92SelectSyntax cmd, Sql92UpdateFieldNameSyntax Sql92UpdateSyntax cmd ~ Sql92ExpressionFieldNameSyntax Sql92InsertValuesExpressionSyntax Sql92InsertValuesSyntax Sql92InsertSyntax cmd)
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectExpressionSyntax select = Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax select)
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectExpressionSyntax select = Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectFromSyntax select = Sql92SelectTableFromSyntax (Sql92SelectSelectTableSyntax select)
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectFromSyntax select = Sql92SelectTableFromSyntax Sql92SelectSelectTableSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectGroupingSyntax select = Sql92SelectTableGroupingSyntax (Sql92SelectSelectTableSyntax select)
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectGroupingSyntax select = Sql92SelectTableGroupingSyntax Sql92SelectSelectTableSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectOrderingSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectOrderingSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectProjectionSyntax select = Sql92SelectTableProjectionSyntax (Sql92SelectSelectTableSyntax select)
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectProjectionSyntax select = Sql92SelectTableProjectionSyntax Sql92SelectSelectTableSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectSanityCheck select = (Sql92FromExpressionSyntax (Sql92SelectTableFromSyntax (Sql92SelectSelectTableSyntax select)) ~ Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax select), Sql92TableSourceSelectSyntax (Sql92FromTableSourceSyntax (Sql92SelectTableFromSyntax (Sql92SelectSelectTableSyntax select))) ~ select, Sql92ProjectionExpressionSyntax (Sql92SelectTableProjectionSyntax (Sql92SelectSelectTableSyntax select)) ~ Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax select), Sql92OrderingExpressionSyntax (Sql92SelectOrderingSyntax select) ~ Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax select), Sql92TableSourceExpressionSyntax (Sql92FromTableSourceSyntax (Sql92SelectTableFromSyntax (Sql92SelectSelectTableSyntax select))) ~ Sql92SelectTableExpressionSyntax (Sql92SelectSelectTableSyntax select))
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectSanityCheck select = (Sql92FromExpressionSyntax Sql92SelectTableFromSyntax Sql92SelectSelectTableSyntax select ~ Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax select, Sql92TableSourceSelectSyntax Sql92FromTableSourceSyntax Sql92SelectTableFromSyntax Sql92SelectSelectTableSyntax select ~ select, Sql92ProjectionExpressionSyntax Sql92SelectTableProjectionSyntax Sql92SelectSelectTableSyntax select ~ Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax select, Sql92OrderingExpressionSyntax Sql92SelectOrderingSyntax select ~ Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax select, Sql92TableSourceExpressionSyntax Sql92FromTableSourceSyntax Sql92SelectTableFromSyntax Sql92SelectSelectTableSyntax select ~ Sql92SelectTableExpressionSyntax Sql92SelectSelectTableSyntax select)
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectSelectTableSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectSelectTableSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectSyntax cmd :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectSyntax cmd;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableExpressionSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableExpressionSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableFromSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableFromSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableGroupingSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableGroupingSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableProjectionSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableProjectionSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableSelectSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableSelectSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableSetQuantifierSyntax select :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92SelectTableSetQuantifierSyntax select;
- Database.Beam.Backend.SQL.SQL92: type Sql92TableNameSyntax select = Sql92TableSourceTableNameSyntax (Sql92FromTableSourceSyntax (Sql92SelectFromSyntax select))
+ Database.Beam.Backend.SQL.SQL92: type Sql92TableNameSyntax select = Sql92TableSourceTableNameSyntax Sql92FromTableSourceSyntax Sql92SelectFromSyntax select
- Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceExpressionSyntax tblSource :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceExpressionSyntax tblSource;
- Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceSelectSyntax tblSource :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceSelectSyntax tblSource;
- Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceTableNameSyntax tblSource :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92TableSourceTableNameSyntax tblSource;
- Database.Beam.Backend.SQL.SQL92: type Sql92UpdateExpressionSyntax update :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92UpdateExpressionSyntax update;
- Database.Beam.Backend.SQL.SQL92: type Sql92UpdateFieldNameSyntax update :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92UpdateFieldNameSyntax update;
- Database.Beam.Backend.SQL.SQL92: type Sql92UpdateSyntax cmd :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92UpdateSyntax cmd;
- Database.Beam.Backend.SQL.SQL92: type Sql92UpdateTableNameSyntax update :: Type;
+ Database.Beam.Backend.SQL.SQL92: type Sql92UpdateTableNameSyntax update;
- Database.Beam.Backend.SQL.SQL92: type Sql92ValueSyntax cmdSyntax = Sql92ExpressionValueSyntax (Sql92ExpressionSyntax cmdSyntax)
+ Database.Beam.Backend.SQL.SQL92: type Sql92ValueSyntax cmdSyntax = Sql92ExpressionValueSyntax Sql92ExpressionSyntax cmdSyntax
- Database.Beam.Backend.SQL.SQL99: type Sql99CTESelectSyntax syntax :: Type;
+ Database.Beam.Backend.SQL.SQL99: type Sql99CTESelectSyntax syntax;
- Database.Beam.Backend.SQL.SQL99: type Sql99SelectCTESyntax syntax :: Type;
+ Database.Beam.Backend.SQL.SQL99: type Sql99SelectCTESyntax syntax;
- Database.Beam.Backend.URI: [BeamURIOpener] :: c be hdl m -> (forall a. hdl -> m a -> IO a) -> (URI -> IO (hdl, IO ())) -> BeamURIOpener c
+ Database.Beam.Backend.URI: [BeamURIOpener] :: forall (c :: Type -> Type -> (Type -> Type) -> Type) be hdl (m :: Type -> Type). c be hdl m -> (forall a. () => hdl -> m a -> IO a) -> (URI -> IO (hdl, IO ())) -> BeamURIOpener c
- Database.Beam.Backend.URI: [BeamURIOpeners] :: Map String (BeamURIOpener c) -> BeamURIOpeners c
+ Database.Beam.Backend.URI: [BeamURIOpeners] :: forall (c :: Type -> Type -> (Type -> Type) -> Type). Map String (BeamURIOpener c) -> BeamURIOpeners c
- Database.Beam.Backend.URI: [OpenedBeamConnection] :: (forall a. hdl -> m a -> IO a) -> c be hdl m -> hdl -> IO () -> OpenedBeamConnection c
+ Database.Beam.Backend.URI: [OpenedBeamConnection] :: forall hdl (m :: Type -> Type) (c :: Type -> Type -> (Type -> Type) -> Type) be. (forall a. () => hdl -> m a -> IO a) -> c be hdl m -> hdl -> IO () -> OpenedBeamConnection c
- Database.Beam.Backend.URI: data BeamURIOpener c
+ Database.Beam.Backend.URI: data BeamURIOpener (c :: Type -> Type -> Type -> Type -> Type)
- Database.Beam.Backend.URI: data OpenedBeamConnection c
+ Database.Beam.Backend.URI: data OpenedBeamConnection (c :: Type -> Type -> Type -> Type -> Type)
- Database.Beam.Backend.URI: findURIOpener :: BeamURIOpeners c -> String -> IO (URI, BeamURIOpener c)
+ Database.Beam.Backend.URI: findURIOpener :: forall (c :: Type -> Type -> (Type -> Type) -> Type). BeamURIOpeners c -> String -> IO (URI, BeamURIOpener c)
- Database.Beam.Backend.URI: mkUriOpener :: (forall a. hdl -> m a -> IO a) -> String -> (URI -> IO (hdl, IO ())) -> c be hdl m -> BeamURIOpeners c
+ Database.Beam.Backend.URI: mkUriOpener :: (forall a. () => hdl -> m a -> IO a) -> String -> (URI -> IO (hdl, IO ())) -> c be hdl m -> BeamURIOpeners c
- Database.Beam.Backend.URI: newtype BeamURIOpeners c
+ Database.Beam.Backend.URI: newtype BeamURIOpeners (c :: Type -> Type -> Type -> Type -> Type)
- Database.Beam.Backend.URI: openDbConnection :: forall c. BeamURIOpeners c -> String -> IO (OpenedBeamConnection c)
+ Database.Beam.Backend.URI: openDbConnection :: forall (c :: Type -> Type -> (Type -> Type) -> Type). BeamURIOpeners c -> String -> IO (OpenedBeamConnection c)
- Database.Beam.Backend.URI: withDbConnection :: forall c a. BeamURIOpeners c -> String -> (forall be hdl m. (forall r. hdl -> m r -> IO r) -> c be hdl m -> hdl -> IO a) -> IO a
+ Database.Beam.Backend.URI: withDbConnection :: BeamURIOpeners c -> String -> (forall be hdl (m :: Type -> Type). () => (forall r. () => hdl -> m r -> IO r) -> c be hdl m -> hdl -> IO a) -> IO a
- Database.Beam.Backend.URI: withDbFromUri :: forall c a. BeamURIOpeners c -> String -> (forall be hdl m. (forall r. hdl -> m r -> IO r) -> c be hdl m -> m a) -> IO a
+ Database.Beam.Backend.URI: withDbFromUri :: BeamURIOpeners c -> String -> (forall be hdl (m :: Type -> Type). () => (forall r. () => hdl -> m r -> IO r) -> c be hdl m -> m a) -> IO a
- Database.Beam.Query: aggregate_ :: forall be a r db s. (BeamSqlBackend be, Aggregable be a, Projectible be r, Projectible be a, ContextRewritable a, ThreadRewritable (QNested s) (WithRewrittenContext a QValueContext)) => (r -> a) -> Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s (WithRewrittenContext a QValueContext))
+ Database.Beam.Query: aggregate_ :: forall be a r (db :: (Type -> Type) -> Type) s. (BeamSqlBackend be, Aggregable be a, Projectible be r, Projectible be a, ContextRewritable a, ThreadRewritable (QNested s) (WithRewrittenContext a QValueContext)) => (r -> a) -> Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s (WithRewrittenContext a QValueContext))
- Database.Beam.Query: allFromView_ :: (Database be db, Beamable table, BeamSqlBackend be) => DatabaseEntity be db (ViewEntity table) -> Q be db s (table (QExpr be s))
+ Database.Beam.Query: allFromView_ :: forall be (db :: (Type -> Type) -> Type) table s. (Database be db, Beamable table, BeamSqlBackend be) => DatabaseEntity be db (ViewEntity table) -> Q be db s (table (QExpr be s))
- Database.Beam.Query: allOf_ :: forall s a be db. (BeamSqlBackend be, HasQBuilder be) => Q be db (QNested s) (QExpr be (QNested s) a) -> QQuantified be s a
+ Database.Beam.Query: allOf_ :: forall s a be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, HasQBuilder be) => Q be db (QNested s) (QExpr be (QNested s) a) -> QQuantified be s a
- Database.Beam.Query: all_ :: (Database be db, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> Q be db s (table (QExpr be s))
+ Database.Beam.Query: all_ :: forall be (db :: (Type -> Type) -> Type) table s. (Database be db, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> Q be db s (table (QExpr be s))
- Database.Beam.Query: anyOf_ :: forall s a be db. (BeamSqlBackend be, HasQBuilder be) => Q be db (QNested s) (QExpr be (QNested s) a) -> QQuantified be s a
+ Database.Beam.Query: anyOf_ :: forall s a be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, HasQBuilder be) => Q be db (QNested s) (QExpr be (QNested s) a) -> QQuantified be s a
- Database.Beam.Query: asc_ :: forall be s a. BeamSqlBackend be => QExpr be s a -> QOrd be s a
+ Database.Beam.Query: asc_ :: BeamSqlBackend be => QExpr be s a -> QOrd be s a
- Database.Beam.Query: class SqlEq expr a | a -> expr
+ Database.Beam.Query: class SqlEq (expr :: Type -> Type) a | a -> expr
- Database.Beam.Query: class SqlEq expr a => SqlEqQuantified expr quantified a | a -> expr quantified
+ Database.Beam.Query: class SqlEq expr a => SqlEqQuantified (expr :: Type -> Type) quantified a | a -> expr quantified
- Database.Beam.Query: class SqlIn expr a | a -> expr
+ Database.Beam.Query: class SqlIn (expr :: Type -> Type) a | a -> expr
- Database.Beam.Query: class SqlOrd expr e | e -> expr
+ Database.Beam.Query: class SqlOrd (expr :: Type -> Type) e | e -> expr
- Database.Beam.Query: class SqlOrd expr e => SqlOrdQuantified expr quantified e | e -> expr quantified
+ Database.Beam.Query: class SqlOrd expr e => SqlOrdQuantified (expr :: Type -> Type) quantified e | e -> expr quantified
- Database.Beam.Query: data QFieldAssignment be tbl a
+ Database.Beam.Query: data QFieldAssignment be (tbl :: Type -> Type -> Type) a
- Database.Beam.Query: data ReusableQ be db res
+ Database.Beam.Query: data ReusableQ be (db :: Type -> Type -> Type) res
- Database.Beam.Query: data SqlDelete be (table :: (Type -> Type) -> Type)
+ Database.Beam.Query: data SqlDelete be (table :: Type -> Type -> Type)
- Database.Beam.Query: data SqlInsert be (table :: (Type -> Type) -> Type)
+ Database.Beam.Query: data SqlInsert be (table :: Type -> Type -> Type)
- Database.Beam.Query: data SqlUpdate be (table :: (Type -> Type) -> Type)
+ Database.Beam.Query: data SqlUpdate be (table :: Type -> Type -> Type)
- Database.Beam.Query: data With be (db :: (Type -> Type) -> Type) a
+ Database.Beam.Query: data With be (db :: Type -> Type -> Type) a
- Database.Beam.Query: delete :: forall be db table. BeamSqlBackend be => DatabaseEntity be db (TableEntity table) -> (forall s. (forall s'. table (QExpr be s')) -> QExpr be s Bool) -> SqlDelete be table
+ Database.Beam.Query: delete :: forall be (db :: (Type -> Type) -> Type) table. BeamSqlBackend be => DatabaseEntity be db (TableEntity table) -> (forall s. () => (forall s'. () => table (QExpr be s')) -> QExpr be s Bool) -> SqlDelete be table
- Database.Beam.Query: desc_ :: forall be s a. BeamSqlBackend be => QExpr be s a -> QOrd be s a
+ Database.Beam.Query: desc_ :: BeamSqlBackend be => QExpr be s a -> QOrd be s a
- Database.Beam.Query: distinct_ :: (BeamSqlBackend be, BeamSql99ExpressionBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
+ Database.Beam.Query: distinct_ :: forall be a (db :: (Type -> Type) -> Type) s. (BeamSqlBackend be, BeamSql99ExpressionBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
- Database.Beam.Query: dumpSqlSelect :: Projectible (MockSqlBackend SqlSyntaxBuilder) res => Q (MockSqlBackend SqlSyntaxBuilder) db QBaseScope res -> IO ()
+ Database.Beam.Query: dumpSqlSelect :: forall res (db :: (Type -> Type) -> Type). Projectible (MockSqlBackend SqlSyntaxBuilder) res => Q (MockSqlBackend SqlSyntaxBuilder) db QBaseScope res -> IO ()
- Database.Beam.Query: exceptAll_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: exceptAll_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: except_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: except_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: exists_ :: (BeamSqlBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
+ Database.Beam.Query: exists_ :: forall be a (db :: (Type -> Type) -> Type) s. (BeamSqlBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
- Database.Beam.Query: filter_ :: forall r be db s. BeamSqlBackend be => (r -> QExpr be s Bool) -> Q be db s r -> Q be db s r
+ Database.Beam.Query: filter_ :: forall r be (db :: (Type -> Type) -> Type) s. BeamSqlBackend be => (r -> QExpr be s Bool) -> Q be db s r -> Q be db s r
- Database.Beam.Query: filter_' :: forall r be db s. BeamSqlBackend be => (r -> QExpr be s SqlBool) -> Q be db s r -> Q be db s r
+ Database.Beam.Query: filter_' :: forall r be (db :: (Type -> Type) -> Type) s. BeamSqlBackend be => (r -> QExpr be s SqlBool) -> Q be db s r -> Q be db s r
- Database.Beam.Query: frame_ :: forall be ordering partition s. (BeamSql2003ExpressionBackend be, SqlOrderable be ordering, Projectible be partition) => Maybe partition -> Maybe ordering -> QFrameBounds be -> QWindow be s
+ Database.Beam.Query: frame_ :: (BeamSql2003ExpressionBackend be, SqlOrderable be ordering, Projectible be partition) => Maybe partition -> Maybe ordering -> QFrameBounds be -> QWindow be s
- Database.Beam.Query: guard_ :: forall be db s. BeamSqlBackend be => QExpr be s Bool -> Q be db s ()
+ Database.Beam.Query: guard_ :: forall be (db :: (Type -> Type) -> Type) s. BeamSqlBackend be => QExpr be s Bool -> Q be db s ()
- Database.Beam.Query: guard_' :: forall be db s. BeamSqlBackend be => QExpr be s SqlBool -> Q be db s ()
+ Database.Beam.Query: guard_' :: forall be (db :: (Type -> Type) -> Type) s. BeamSqlBackend be => QExpr be s SqlBool -> Q be db s ()
- Database.Beam.Query: inQuery_ :: (HasQBuilder be, BeamSqlBackend be) => QGenExpr ctx be s a -> Q be db s (QExpr be s a) -> QGenExpr ctx be s Bool
+ Database.Beam.Query: inQuery_ :: forall be ctx s a (db :: (Type -> Type) -> Type). (HasQBuilder be, BeamSqlBackend be) => QGenExpr ctx be s a -> Q be db s (QExpr be s a) -> QGenExpr ctx be s Bool
- Database.Beam.Query: insert :: (BeamSqlBackend be, ProjectibleWithPredicate AnyType () Text (table (QField s))) => DatabaseEntity be db (TableEntity table) -> SqlInsertValues be (table (QExpr be s)) -> SqlInsert be table
+ Database.Beam.Query: insert :: forall be table s (db :: (Type -> Type) -> Type). (BeamSqlBackend be, ProjectibleWithPredicate AnyType () Text (table (QField s))) => DatabaseEntity be db (TableEntity table) -> SqlInsertValues be (table (QExpr be s)) -> SqlInsert be table
- Database.Beam.Query: insertData :: forall be r. (Projectible be r, BeamSqlBackend be) => [r] -> SqlInsertValues be r
+ Database.Beam.Query: insertData :: (Projectible be r, BeamSqlBackend be) => [r] -> SqlInsertValues be r
- Database.Beam.Query: insertExpressions :: forall be table s. (BeamSqlBackend be, Beamable table) => (forall s'. [table (QExpr be s')]) -> SqlInsertValues be (table (QExpr be s))
+ Database.Beam.Query: insertExpressions :: (BeamSqlBackend be, Beamable table) => (forall s'. () => [table (QExpr be s')]) -> SqlInsertValues be (table (QExpr be s))
- Database.Beam.Query: insertFrom :: (BeamSqlBackend be, HasQBuilder be, Projectible be r) => Q be db QBaseScope r -> SqlInsertValues be r
+ Database.Beam.Query: insertFrom :: forall be r (db :: (Type -> Type) -> Type). (BeamSqlBackend be, HasQBuilder be, Projectible be r) => Q be db QBaseScope r -> SqlInsertValues be r
- Database.Beam.Query: insertOnly :: (BeamSqlBackend be, ProjectibleWithPredicate AnyType () Text (QExprToField r)) => DatabaseEntity be db (TableEntity table) -> (table (QField s) -> QExprToField r) -> SqlInsertValues be r -> SqlInsert be table
+ Database.Beam.Query: insertOnly :: forall be r (db :: (Type -> Type) -> Type) table s. (BeamSqlBackend be, ProjectibleWithPredicate AnyType () Text (QExprToField r)) => DatabaseEntity be db (TableEntity table) -> (table (QField s) -> QExprToField r) -> SqlInsertValues be r -> SqlInsert be table
- Database.Beam.Query: insertValues :: forall be table s. (BeamSqlBackend be, Beamable table, FieldsFulfillConstraint (BeamSqlBackendCanSerialize be) table) => [table Identity] -> SqlInsertValues be (table (QExpr be s))
+ Database.Beam.Query: insertValues :: (BeamSqlBackend be, Beamable table, FieldsFulfillConstraint (BeamSqlBackendCanSerialize be) table) => [table Identity] -> SqlInsertValues be (table (QExpr be s))
- Database.Beam.Query: intersectAll_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: intersectAll_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: intersect_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: intersect_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: join_ :: (Database be db, Table table, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> (table (QExpr be s) -> QExpr be s Bool) -> Q be db s (table (QExpr be s))
+ Database.Beam.Query: join_ :: forall be (db :: (Type -> Type) -> Type) table s. (Database be db, Table table, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> (table (QExpr be s) -> QExpr be s Bool) -> Q be db s (table (QExpr be s))
- Database.Beam.Query: join_' :: (Database be db, Table table, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> (table (QExpr be s) -> QExpr be s SqlBool) -> Q be db s (table (QExpr be s))
+ Database.Beam.Query: join_' :: forall be (db :: (Type -> Type) -> Type) table s. (Database be db, Table table, BeamSqlBackend be) => DatabaseEntity be db (TableEntity table) -> (table (QExpr be s) -> QExpr be s SqlBool) -> Q be db s (table (QExpr be s))
- Database.Beam.Query: leftJoin_ :: forall s r be db. (BeamSqlBackend be, Projectible be r, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> (WithRewrittenThread (QNested s) s r -> QExpr be s Bool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
+ Database.Beam.Query: leftJoin_ :: forall s r be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Projectible be r, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> (WithRewrittenThread (QNested s) s r -> QExpr be s Bool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
- Database.Beam.Query: leftJoin_' :: forall s r be db. (BeamSqlBackend be, Projectible be r, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> (WithRewrittenThread (QNested s) s r -> QExpr be s SqlBool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
+ Database.Beam.Query: leftJoin_' :: forall s r be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Projectible be r, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> (WithRewrittenThread (QNested s) s r -> QExpr be s SqlBool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
- Database.Beam.Query: limit_ :: forall s a be db. (Projectible be a, ThreadRewritable (QNested s) a) => Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: limit_ :: forall s a be (db :: (Type -> Type) -> Type). (Projectible be a, ThreadRewritable (QNested s) a) => Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: lookup_ :: (Database be db, Table table, BeamSqlBackend be, HasQBuilder be, SqlValableTable be (PrimaryKey table), HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> PrimaryKey table Identity -> SqlSelect be (table Identity)
+ Database.Beam.Query: lookup_ :: forall be (db :: (Type -> Type) -> Type) table. (Database be db, Table table, BeamSqlBackend be, HasQBuilder be, SqlValableTable be (PrimaryKey table), HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> PrimaryKey table Identity -> SqlSelect be (table Identity)
- Database.Beam.Query: manyToManyPassthrough_ :: (Database be db, Table joinThrough, Table left, Table right, BeamSqlBackend be, SqlEq (QExpr be s) (PrimaryKey left (QExpr be s)), SqlEq (QExpr be s) (PrimaryKey right (QExpr be s))) => DatabaseEntity be db (TableEntity joinThrough) -> (joinThrough (QExpr be s) -> PrimaryKey left (QExpr be s)) -> (joinThrough (QExpr be s) -> PrimaryKey right (QExpr be s)) -> Q be db s (left (QExpr be s)) -> Q be db s (right (QExpr be s)) -> Q be db s (joinThrough (QExpr be s), left (QExpr be s), right (QExpr be s))
+ Database.Beam.Query: manyToManyPassthrough_ :: forall be (db :: (Type -> Type) -> Type) joinThrough left right s. (Database be db, Table joinThrough, Table left, Table right, BeamSqlBackend be, SqlEq (QExpr be s) (PrimaryKey left (QExpr be s)), SqlEq (QExpr be s) (PrimaryKey right (QExpr be s))) => DatabaseEntity be db (TableEntity joinThrough) -> (joinThrough (QExpr be s) -> PrimaryKey left (QExpr be s)) -> (joinThrough (QExpr be s) -> PrimaryKey right (QExpr be s)) -> Q be db s (left (QExpr be s)) -> Q be db s (right (QExpr be s)) -> Q be db s (joinThrough (QExpr be s), left (QExpr be s), right (QExpr be s))
- Database.Beam.Query: manyToMany_ :: (Database be db, Table joinThrough, Table left, Table right, BeamSqlBackend be, SqlEq (QExpr be s) (PrimaryKey left (QExpr be s)), SqlEq (QExpr be s) (PrimaryKey right (QExpr be s))) => DatabaseEntity be db (TableEntity joinThrough) -> (joinThrough (QExpr be s) -> PrimaryKey left (QExpr be s)) -> (joinThrough (QExpr be s) -> PrimaryKey right (QExpr be s)) -> Q be db s (left (QExpr be s)) -> Q be db s (right (QExpr be s)) -> Q be db s (left (QExpr be s), right (QExpr be s))
+ Database.Beam.Query: manyToMany_ :: forall be (db :: (Type -> Type) -> Type) joinThrough left right s. (Database be db, Table joinThrough, Table left, Table right, BeamSqlBackend be, SqlEq (QExpr be s) (PrimaryKey left (QExpr be s)), SqlEq (QExpr be s) (PrimaryKey right (QExpr be s))) => DatabaseEntity be db (TableEntity joinThrough) -> (joinThrough (QExpr be s) -> PrimaryKey left (QExpr be s)) -> (joinThrough (QExpr be s) -> PrimaryKey right (QExpr be s)) -> Q be db s (left (QExpr be s)) -> Q be db s (right (QExpr be s)) -> Q be db s (left (QExpr be s), right (QExpr be s))
- Database.Beam.Query: not_ :: forall be context s. BeamSqlBackend be => QGenExpr context be s Bool -> QGenExpr context be s Bool
+ Database.Beam.Query: not_ :: BeamSqlBackend be => QGenExpr context be s Bool -> QGenExpr context be s Bool
- Database.Beam.Query: nub_ :: (BeamSqlBackend be, Projectible be r) => Q be db s r -> Q be db s r
+ Database.Beam.Query: nub_ :: forall be r (db :: (Type -> Type) -> Type) s. (BeamSqlBackend be, Projectible be r) => Q be db s r -> Q be db s r
- Database.Beam.Query: offset_ :: forall s a be db. (Projectible be a, ThreadRewritable (QNested s) a) => Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: offset_ :: forall s a be (db :: (Type -> Type) -> Type). (Projectible be a, ThreadRewritable (QNested s) a) => Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: oneToManyOptional_ :: (BeamSqlBackend be, Database be db, Table tbl, Table rel, HasTableEqualityNullable be (PrimaryKey tbl)) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (Nullable (QExpr be s))) -> tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))
+ Database.Beam.Query: oneToManyOptional_ :: forall be (db :: (Type -> Type) -> Type) tbl rel s. (BeamSqlBackend be, Database be db, Table tbl, Table rel, HasTableEqualityNullable be (PrimaryKey tbl)) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (Nullable (QExpr be s))) -> tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))
- Database.Beam.Query: oneToMany_ :: (Database be db, BeamSqlBackend be, HasTableEquality be (PrimaryKey tbl), Table tbl, Table rel) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (QExpr be s)) -> tbl (QExpr be s) -> Q be db s (rel (QExpr be s))
+ Database.Beam.Query: oneToMany_ :: forall be (db :: (Type -> Type) -> Type) tbl rel s. (Database be db, BeamSqlBackend be, HasTableEquality be (PrimaryKey tbl), Table tbl, Table rel) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (QExpr be s)) -> tbl (QExpr be s) -> Q be db s (rel (QExpr be s))
- Database.Beam.Query: oneToMaybe_ :: (BeamSqlBackend be, Database be db, Table tbl, Table rel, HasTableEqualityNullable be (PrimaryKey tbl)) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (Nullable (QExpr be s))) -> tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))
+ Database.Beam.Query: oneToMaybe_ :: forall be (db :: (Type -> Type) -> Type) tbl rel s. (BeamSqlBackend be, Database be db, Table tbl, Table rel, HasTableEqualityNullable be (PrimaryKey tbl)) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (Nullable (QExpr be s))) -> tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))
- Database.Beam.Query: oneToOne_ :: (Database be db, BeamSqlBackend be, HasTableEquality be (PrimaryKey tbl), Table tbl, Table rel) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (QExpr be s)) -> tbl (QExpr be s) -> Q be db s (rel (QExpr be s))
+ Database.Beam.Query: oneToOne_ :: forall be (db :: (Type -> Type) -> Type) tbl rel s. (Database be db, BeamSqlBackend be, HasTableEquality be (PrimaryKey tbl), Table tbl, Table rel) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (QExpr be s)) -> tbl (QExpr be s) -> Q be db s (rel (QExpr be s))
- Database.Beam.Query: orderBy_ :: forall s a ordering be db. (Projectible be a, SqlOrderable be ordering, ThreadRewritable (QNested s) a) => (a -> ordering) -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: orderBy_ :: forall s a ordering be (db :: (Type -> Type) -> Type). (Projectible be a, SqlOrderable be ordering, ThreadRewritable (QNested s) a) => (a -> ordering) -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: outerJoin_ :: forall s a b be db. (BeamSqlBackend be, BeamSqlBackendSupportsOuterJoin be, Projectible be a, Projectible be b, ThreadRewritable (QNested s) a, ThreadRewritable (QNested s) b, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s a), Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s b)) => Q be db (QNested s) a -> Q be db (QNested s) b -> ((WithRewrittenThread (QNested s) s a, WithRewrittenThread (QNested s) s b) -> QExpr be s Bool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s a), Retag Nullable (WithRewrittenThread (QNested s) s b))
+ Database.Beam.Query: outerJoin_ :: forall s a b be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, BeamSqlBackendSupportsOuterJoin be, Projectible be a, Projectible be b, ThreadRewritable (QNested s) a, ThreadRewritable (QNested s) b, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s a), Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s b)) => Q be db (QNested s) a -> Q be db (QNested s) b -> ((WithRewrittenThread (QNested s) s a, WithRewrittenThread (QNested s) s b) -> QExpr be s Bool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s a), Retag Nullable (WithRewrittenThread (QNested s) s b))
- Database.Beam.Query: outerJoin_' :: forall s a b be db. (BeamSqlBackend be, BeamSqlBackendSupportsOuterJoin be, Projectible be a, Projectible be b, ThreadRewritable (QNested s) a, ThreadRewritable (QNested s) b, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s a), Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s b)) => Q be db (QNested s) a -> Q be db (QNested s) b -> ((WithRewrittenThread (QNested s) s a, WithRewrittenThread (QNested s) s b) -> QExpr be s SqlBool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s a), Retag Nullable (WithRewrittenThread (QNested s) s b))
+ Database.Beam.Query: outerJoin_' :: forall s a b be (db :: (Type -> Type) -> Type). (BeamSqlBackend be, BeamSqlBackendSupportsOuterJoin be, Projectible be a, Projectible be b, ThreadRewritable (QNested s) a, ThreadRewritable (QNested s) b, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s a), Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s b)) => Q be db (QNested s) a -> Q be db (QNested s) b -> ((WithRewrittenThread (QNested s) s a, WithRewrittenThread (QNested s) s b) -> QExpr be s SqlBool) -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s a), Retag Nullable (WithRewrittenThread (QNested s) s b))
- Database.Beam.Query: perhaps_ :: forall s r be db. (Projectible be r, BeamSqlBackend be, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
+ Database.Beam.Query: perhaps_ :: forall s r be (db :: (Type -> Type) -> Type). (Projectible be r, BeamSqlBackend be, ThreadRewritable (QNested s) r, Retaggable (QExpr be s) (WithRewrittenThread (QNested s) s r)) => Q be db (QNested s) r -> Q be db s (Retag Nullable (WithRewrittenThread (QNested s) s r))
- Database.Beam.Query: relatedBy_ :: forall be db rel s. (Database be db, Table rel, BeamSqlBackend be) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> QExpr be s Bool) -> Q be db s (rel (QExpr be s))
+ Database.Beam.Query: relatedBy_ :: forall be (db :: (Type -> Type) -> Type) rel s. (Database be db, Table rel, BeamSqlBackend be) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> QExpr be s Bool) -> Q be db s (rel (QExpr be s))
- Database.Beam.Query: relatedBy_' :: forall be db rel s. (Database be db, Table rel, BeamSqlBackend be) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> QExpr be s SqlBool) -> Q be db s (rel (QExpr be s))
+ Database.Beam.Query: relatedBy_' :: forall be (db :: (Type -> Type) -> Type) rel s. (Database be db, Table rel, BeamSqlBackend be) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> QExpr be s SqlBool) -> Q be db s (rel (QExpr be s))
- Database.Beam.Query: related_ :: forall be db rel s. (Database be db, Table rel, BeamSqlBackend be, HasTableEquality be (PrimaryKey rel)) => DatabaseEntity be db (TableEntity rel) -> PrimaryKey rel (QExpr be s) -> Q be db s (rel (QExpr be s))
+ Database.Beam.Query: related_ :: forall be (db :: (Type -> Type) -> Type) rel s. (Database be db, Table rel, BeamSqlBackend be, HasTableEquality be (PrimaryKey rel)) => DatabaseEntity be db (TableEntity rel) -> PrimaryKey rel (QExpr be s) -> Q be db s (rel (QExpr be s))
- Database.Beam.Query: reuse :: forall s be db res. ReusableQ be db res -> Q be db s (WithRewrittenThread QAnyScope s res)
+ Database.Beam.Query: reuse :: forall s be (db :: (Type -> Type) -> Type) res. ReusableQ be db res -> Q be db s (WithRewrittenThread QAnyScope s res)
- Database.Beam.Query: runDelete :: (BeamSqlBackend be, MonadBeam be m) => SqlDelete be table -> m ()
+ Database.Beam.Query: runDelete :: forall be m (table :: (Type -> Type) -> Type). (BeamSqlBackend be, MonadBeam be m) => SqlDelete be table -> m ()
- Database.Beam.Query: runInsert :: (BeamSqlBackend be, MonadBeam be m) => SqlInsert be table -> m ()
+ Database.Beam.Query: runInsert :: forall be m (table :: (Type -> Type) -> Type). (BeamSqlBackend be, MonadBeam be m) => SqlInsert be table -> m ()
- Database.Beam.Query: runUpdate :: (BeamSqlBackend be, MonadBeam be m) => SqlUpdate be tbl -> m ()
+ Database.Beam.Query: runUpdate :: forall be m (tbl :: (Type -> Type) -> Type). (BeamSqlBackend be, MonadBeam be m) => SqlUpdate be tbl -> m ()
- Database.Beam.Query: save :: forall table be db. (Table table, BeamSqlBackend be, SqlValableTable be (PrimaryKey table), SqlValableTable be table, HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> SqlUpdate be table
+ Database.Beam.Query: save :: forall table be (db :: (Type -> Type) -> Type). (Table table, BeamSqlBackend be, SqlValableTable be (PrimaryKey table), SqlValableTable be table, HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> SqlUpdate be table
- Database.Beam.Query: save' :: forall table be db. (Table table, BeamSqlBackend be, SqlValableTable be (PrimaryKey table), SqlValableTable be table, HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> SqlUpdate be table
+ Database.Beam.Query: save' :: forall table be (db :: (Type -> Type) -> Type). (Table table, BeamSqlBackend be, SqlValableTable be (PrimaryKey table), SqlValableTable be table, HasTableEquality be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> SqlUpdate be table
- Database.Beam.Query: select :: forall be db res. (BeamSqlBackend be, HasQBuilder be, Projectible be res) => Q be db QBaseScope res -> SqlSelect be (QExprToIdentity res)
+ Database.Beam.Query: select :: forall be (db :: (Type -> Type) -> Type) res. (BeamSqlBackend be, HasQBuilder be, Projectible be res) => Q be db QBaseScope res -> SqlSelect be (QExprToIdentity res)
- Database.Beam.Query: selectWith :: forall be db res. (BeamSqlBackend be, BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res) => With be db (Q be db QBaseScope res) -> SqlSelect be (QExprToIdentity res)
+ Database.Beam.Query: selectWith :: forall be (db :: (Type -> Type) -> Type) res. (BeamSqlBackend be, BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res) => With be db (Q be db QBaseScope res) -> SqlSelect be (QExprToIdentity res)
- Database.Beam.Query: selecting :: forall res be db. (BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res, ThreadRewritable QAnyScope res) => Q be db QAnyScope res -> With be db (ReusableQ be db res)
+ Database.Beam.Query: selecting :: forall res be (db :: (Type -> Type) -> Type). (BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res, ThreadRewritable QAnyScope res) => Q be db QAnyScope res -> With be db (ReusableQ be db res)
- Database.Beam.Query: set :: forall table be table'. Beamable table => table (QFieldAssignment be table')
+ Database.Beam.Query: set :: forall table be (table' :: (Type -> Type) -> Type). Beamable table => table (QFieldAssignment be table')
- Database.Beam.Query: setFieldsTo :: forall table be table'. Table table => (forall s. table (QExpr be s)) -> table (QFieldAssignment be table')
+ Database.Beam.Query: setFieldsTo :: forall table be (table' :: (Type -> Type) -> Type). Table table => (forall s. () => table (QExpr be s)) -> table (QFieldAssignment be table')
- Database.Beam.Query: sqlNot_ :: forall be context s. BeamSqlBackend be => QGenExpr context be s SqlBool -> QGenExpr context be s SqlBool
+ Database.Beam.Query: sqlNot_ :: BeamSqlBackend be => QGenExpr context be s SqlBool -> QGenExpr context be s SqlBool
- Database.Beam.Query: subquery_ :: (BeamSqlBackend be, HasQBuilder be, Projectible be (QExpr be s a)) => Q be db s (QExpr be s a) -> QGenExpr ctxt be s a
+ Database.Beam.Query: subquery_ :: forall be s a (db :: (Type -> Type) -> Type) ctxt. (BeamSqlBackend be, HasQBuilder be, Projectible be (QExpr be s a)) => Q be db s (QExpr be s a) -> QGenExpr ctxt be s a
- Database.Beam.Query: subselect_ :: forall s r be db. (ThreadRewritable (QNested s) r, Projectible be r) => Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s r)
+ Database.Beam.Query: subselect_ :: forall s r be (db :: (Type -> Type) -> Type). (ThreadRewritable (QNested s) r, Projectible be r) => Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s r)
- Database.Beam.Query: toNewValue :: (forall s. QExpr be s a) -> QFieldAssignment be table a
+ Database.Beam.Query: toNewValue :: forall be a (table :: (Type -> Type) -> Type). (forall s. () => QExpr be s a) -> QFieldAssignment be table a
- Database.Beam.Query: toOldValue :: QFieldAssignment be table a
+ Database.Beam.Query: toOldValue :: forall be (table :: (Type -> Type) -> Type) a. QFieldAssignment be table a
- Database.Beam.Query: toUpdatedValue :: (forall s. table (QExpr be s) -> QExpr be s a) -> QFieldAssignment be table a
+ Database.Beam.Query: toUpdatedValue :: (forall s. () => table (QExpr be s) -> QExpr be s a) -> QFieldAssignment be table a
- Database.Beam.Query: toUpdatedValueMaybe :: (forall s. table (QExpr be s) -> Maybe (QExpr be s a)) -> QFieldAssignment be table a
+ Database.Beam.Query: toUpdatedValueMaybe :: (forall s. () => table (QExpr be s) -> Maybe (QExpr be s a)) -> QFieldAssignment be table a
- Database.Beam.Query: type HasTableEquality be tbl = (FieldsFulfillConstraint (HasSqlEqualityCheck be) tbl, Beamable tbl)
+ Database.Beam.Query: type HasTableEquality be (tbl :: Type -> Type -> Type) = (FieldsFulfillConstraint HasSqlEqualityCheck be tbl, Beamable tbl)
- Database.Beam.Query: type OneToMaybe be db s tbl rel = OneToManyOptional be db s tbl rel
+ Database.Beam.Query: type OneToMaybe be (db :: Type -> Type -> Type) s (tbl :: Type -> Type -> Type) (rel :: Type -> Type -> Type) = OneToManyOptional be db s tbl rel
- Database.Beam.Query: type OneToOne be db s one many = OneToMany be db s one many
+ Database.Beam.Query: type OneToOne be (db :: Type -> Type -> Type) s (one :: Type -> Type -> Type) (many :: Type -> Type -> Type) = OneToMany be db s one many
- Database.Beam.Query: type ManyToManyThrough be db through left right = forall s. (BeamSqlBackend be, SqlEq (QExpr be s) (PrimaryKey left (QExpr be s)), SqlEq (QExpr be s) (PrimaryKey right (QExpr be s))) => Q be db s (left (QExpr be s)) -> Q be db s (right (QExpr be s)) -> Q be db s (through (QExpr be s), left (QExpr be s), right (QExpr be s))
+ Database.Beam.Query: type ManyToManyThrough be (db :: Type -> Type -> Type) (through :: Type -> Type -> Type) (left :: Type -> Type -> Type) (right :: Type -> Type -> Type) = forall s. (BeamSqlBackend be, SqlEq QExpr be s PrimaryKey left QExpr be s, SqlEq QExpr be s PrimaryKey right QExpr be s) => Q be db s left QExpr be s -> Q be db s right QExpr be s -> Q be db s (through QExpr be s, left QExpr be s, right QExpr be s)
- Database.Beam.Query: type QExprTable be s tbl = QGenExprTable QValueContext be s tbl
+ Database.Beam.Query: type QExprTable be s (tbl :: Type -> Type -> Type) = QGenExprTable QValueContext be s tbl
- Database.Beam.Query: type QGenExprTable ctxt be s tbl = tbl (QGenExpr ctxt be s)
+ Database.Beam.Query: type QGenExprTable ctxt be s (tbl :: Type -> Type -> Type) = tbl QGenExpr ctxt be s
- Database.Beam.Query: type SqlValableTable be table = (Beamable table, FieldsFulfillConstraint (HasSqlValueSyntax (BeamSqlBackendValueSyntax be)) table)
+ Database.Beam.Query: type SqlValableTable be (table :: Type -> Type -> Type) = (Beamable table, FieldsFulfillConstraint HasSqlValueSyntax BeamSqlBackendValueSyntax be table)
- Database.Beam.Query: type family HaskellLiteralForQExpr x = a
+ Database.Beam.Query: type family HaskellLiteralForQExpr x = (a :: Type)
- Database.Beam.Query: type OneToMany be db s one many = (BeamSqlBackend be, BeamSqlBackendCanSerialize be Bool) => one (QExpr be s) -> Q be db s (many (QExpr be s))
+ Database.Beam.Query: type OneToMany be (db :: Type -> Type -> Type) s (one :: Type -> Type -> Type) (many :: Type -> Type -> Type) = (BeamSqlBackend be, BeamSqlBackendCanSerialize be Bool) => one QExpr be s -> Q be db s many QExpr be s
- Database.Beam.Query: type OneToManyOptional be db s tbl rel = (BeamSqlBackend be, BeamSqlBackendCanSerialize be Bool, BeamSqlBackendCanSerialize be SqlNull) => tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))
+ Database.Beam.Query: type OneToManyOptional be (db :: Type -> Type -> Type) s (tbl :: Type -> Type -> Type) (rel :: Type -> Type -> Type) = (BeamSqlBackend be, BeamSqlBackendCanSerialize be Bool, BeamSqlBackendCanSerialize be SqlNull) => tbl QExpr be s -> Q be db s rel Nullable QExpr be s
- Database.Beam.Query: unionAll_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: unionAll_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: union_ :: forall be db s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
+ Database.Beam.Query: union_ :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a, ThreadRewritable (QNested s) a) => Q be db (QNested s) a -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
- Database.Beam.Query: unique_ :: (BeamSqlBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
+ Database.Beam.Query: unique_ :: forall be a (db :: (Type -> Type) -> Type) s. (BeamSqlBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool
- Database.Beam.Query: update :: (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> (forall s. table (QField s) -> QAssignment be s) -> (forall s. table (QExpr be s) -> QExpr be s Bool) -> SqlUpdate be table
+ Database.Beam.Query: update :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> (forall s. () => table (QField s) -> QAssignment be s) -> (forall s. () => table (QExpr be s) -> QExpr be s Bool) -> SqlUpdate be table
- Database.Beam.Query: update' :: (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> (forall s. table (QField s) -> QAssignment be s) -> (forall s. table (QExpr be s) -> QExpr be s SqlBool) -> SqlUpdate be table
+ Database.Beam.Query: update' :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> (forall s. () => table (QField s) -> QAssignment be s) -> (forall s. () => table (QExpr be s) -> QExpr be s SqlBool) -> SqlUpdate be table
- Database.Beam.Query: updateRow :: (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> (forall s. table (QField s) -> QAssignment be s) -> SqlUpdate be table
+ Database.Beam.Query: updateRow :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> (forall s. () => table (QField s) -> QAssignment be s) -> SqlUpdate be table
- Database.Beam.Query: updateRow' :: (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> (forall s. table (QField s) -> QAssignment be s) -> SqlUpdate be table
+ Database.Beam.Query: updateRow' :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> (forall s. () => table (QField s) -> QAssignment be s) -> SqlUpdate be table
- Database.Beam.Query: updateTable :: forall table db be. (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> table (QFieldAssignment be table) -> (forall s. table (QExpr be s) -> QExpr be s Bool) -> SqlUpdate be table
+ Database.Beam.Query: updateTable :: forall table (db :: (Type -> Type) -> Type) be. (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> table (QFieldAssignment be table) -> (forall s. () => table (QExpr be s) -> QExpr be s Bool) -> SqlUpdate be table
- Database.Beam.Query: updateTable' :: forall table db be. (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> table (QFieldAssignment be table) -> (forall s. table (QExpr be s) -> QExpr be s SqlBool) -> SqlUpdate be table
+ Database.Beam.Query: updateTable' :: forall table (db :: (Type -> Type) -> Type) be. (BeamSqlBackend be, Beamable table) => DatabaseEntity be db (TableEntity table) -> table (QFieldAssignment be table) -> (forall s. () => table (QExpr be s) -> QExpr be s SqlBool) -> SqlUpdate be table
- Database.Beam.Query: updateTableRow :: (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> table (QFieldAssignment be table) -> SqlUpdate be table
+ Database.Beam.Query: updateTableRow :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> table (QFieldAssignment be table) -> SqlUpdate be table
- Database.Beam.Query: updateTableRow' :: (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> table (QFieldAssignment be table) -> SqlUpdate be table
+ Database.Beam.Query: updateTableRow' :: forall be table (db :: (Type -> Type) -> Type). (BeamSqlBackend be, Table table, HasTableEquality be (PrimaryKey table), SqlValableTable be (PrimaryKey table)) => DatabaseEntity be db (TableEntity table) -> table Identity -> table (QFieldAssignment be table) -> SqlUpdate be table
- Database.Beam.Query: values_ :: forall be db s a. (Projectible be a, BeamSqlBackend be) => [a] -> Q be db s a
+ Database.Beam.Query: values_ :: forall be (db :: (Type -> Type) -> Type) s a. (Projectible be a, BeamSqlBackend be) => [a] -> Q be db s a
- Database.Beam.Query: withWindow_ :: forall window a s r be db. (ProjectibleWithPredicate WindowFrameContext be (WithExprContext (BeamSqlBackendWindowFrameSyntax' be)) window, Projectible be r, Projectible be a, ContextRewritable a, ThreadRewritable (QNested s) (WithRewrittenContext a QValueContext)) => (r -> window) -> (r -> window -> a) -> Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s (WithRewrittenContext a QValueContext))
+ Database.Beam.Query: withWindow_ :: forall window a s r be (db :: (Type -> Type) -> Type). (ProjectibleWithPredicate WindowFrameContext be (WithExprContext (BeamSqlBackendWindowFrameSyntax' be)) window, Projectible be r, Projectible be a, ContextRewritable a, ThreadRewritable (QNested s) (WithRewrittenContext a QValueContext)) => (r -> window) -> (r -> window -> a) -> Q be db (QNested s) r -> Q be db s (WithRewrittenThread (QNested s) s (WithRewrittenContext a QValueContext))
- Database.Beam.Query.Adhoc: field_ :: forall a. Text -> NamedField a
+ Database.Beam.Query.Adhoc: field_ :: Text -> NamedField a
- Database.Beam.Query.Adhoc: mkAdhocField :: Adhoc structure => (forall a. Text -> f a) -> structure -> AdhocTable structure f
+ Database.Beam.Query.Adhoc: mkAdhocField :: Adhoc structure => (forall a. () => Text -> f a) -> structure -> AdhocTable structure f
- Database.Beam.Query.Adhoc: table_ :: forall be db structure s. (Adhoc structure, BeamSqlBackend be, Projectible be (AdhocTable structure (QExpr be s))) => Maybe Text -> Text -> structure -> Q be db s (AdhocTable structure (QExpr be s))
+ Database.Beam.Query.Adhoc: table_ :: forall be (db :: (Type -> Type) -> Type) structure s. (Adhoc structure, BeamSqlBackend be, Projectible be (AdhocTable structure (QExpr be s))) => Maybe Text -> Text -> structure -> Q be db s (AdhocTable structure (QExpr be s))
- Database.Beam.Query.Adhoc: type AdhocTable structure (f :: Type -> Type) :: Type;
+ Database.Beam.Query.Adhoc: type AdhocTable structure (f :: Type -> Type);
- Database.Beam.Query.CTE: [Nonrecursive] :: Recursiveness be
+ Database.Beam.Query.CTE: [Nonrecursive] :: forall be. Recursiveness be
- Database.Beam.Query.CTE: [Recursive] :: IsSql99RecursiveCommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be) => Recursiveness be
+ Database.Beam.Query.CTE: [Recursive] :: forall be. IsSql99RecursiveCommonTableExpressionSelectSyntax (BeamSqlBackendSelectSyntax be) => Recursiveness be
- Database.Beam.Query.CTE: [ReusableQ] :: Proxy res -> (forall s. Proxy s -> Q be db s (WithRewrittenThread QAnyScope s res)) -> ReusableQ be db res
+ Database.Beam.Query.CTE: [ReusableQ] :: forall res be (db :: (Type -> Type) -> Type). Proxy res -> (forall s. () => Proxy s -> Q be db s (WithRewrittenThread QAnyScope s res)) -> ReusableQ be db res
- Database.Beam.Query.CTE: data ReusableQ be db res
+ Database.Beam.Query.CTE: data ReusableQ be (db :: Type -> Type -> Type) res
- Database.Beam.Query.CTE: newtype With be (db :: (Type -> Type) -> Type) a
+ Database.Beam.Query.CTE: newtype With be (db :: Type -> Type -> Type) a
- Database.Beam.Query.CTE: reusableForCTE :: forall be res db. (ThreadRewritable QAnyScope res, Projectible be res, BeamSqlBackend be) => Text -> ReusableQ be db res
+ Database.Beam.Query.CTE: reusableForCTE :: forall be res (db :: (Type -> Type) -> Type). (ThreadRewritable QAnyScope res, Projectible be res, BeamSqlBackend be) => Text -> ReusableQ be db res
- Database.Beam.Query.CTE: reuse :: forall s be db res. ReusableQ be db res -> Q be db s (WithRewrittenThread QAnyScope s res)
+ Database.Beam.Query.CTE: reuse :: forall s be (db :: (Type -> Type) -> Type) res. ReusableQ be db res -> Q be db s (WithRewrittenThread QAnyScope s res)
- Database.Beam.Query.CTE: selecting :: forall res be db. (BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res, ThreadRewritable QAnyScope res) => Q be db QAnyScope res -> With be db (ReusableQ be db res)
+ Database.Beam.Query.CTE: selecting :: forall res be (db :: (Type -> Type) -> Type). (BeamSql99CommonTableExpressionBackend be, HasQBuilder be, Projectible be res, ThreadRewritable QAnyScope res) => Q be db QAnyScope res -> With be db (ReusableQ be db res)
- Database.Beam.Query.CustomSQL: class (Monoid (CustomSqlSyntax syntax), Semigroup (CustomSqlSyntax syntax), IsString (CustomSqlSyntax syntax)) => IsCustomSqlSyntax syntax where {
+ Database.Beam.Query.CustomSQL: class (Monoid CustomSqlSyntax syntax, Semigroup CustomSqlSyntax syntax, IsString CustomSqlSyntax syntax) => IsCustomSqlSyntax syntax where {
- Database.Beam.Query.CustomSQL: data CustomSqlSyntax syntax :: Type;
+ Database.Beam.Query.CustomSQL: data CustomSqlSyntax syntax;
- Database.Beam.Query.Internal: QFieldAssignment :: (forall s. tbl (QExpr be s) -> Maybe (QExpr be s a)) -> QFieldAssignment be tbl a
+ Database.Beam.Query.Internal: QFieldAssignment :: (forall s. () => tbl (QExpr be s) -> Maybe (QExpr be s a)) -> QFieldAssignment be (tbl :: (Type -> Type) -> Type) a
- Database.Beam.Query.Internal: [QAggregate] :: (Projectible be grouping, Projectible be a) => (a -> TablePrefix -> (Maybe (BeamSqlBackendGroupingSyntax be), grouping)) -> QM be db (QNested s) a -> (grouping -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QAggregate] :: forall be grouping a (db :: (Type -> Type) -> Type) s next. (Projectible be grouping, Projectible be a) => (a -> TablePrefix -> (Maybe (BeamSqlBackendGroupingSyntax be), grouping)) -> QM be db (QNested s) a -> (grouping -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QAll] :: Projectible be r => (TablePrefix -> Text -> BeamSqlBackendFromSyntax be) -> (Text -> r) -> (r -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> ((Text, r) -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QAll] :: forall be r next (db :: (Type -> Type) -> Type) s. Projectible be r => (TablePrefix -> Text -> BeamSqlBackendFromSyntax be) -> (Text -> r) -> (r -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> ((Text, r) -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QArbitraryJoin] :: Projectible be r => QM be db (QNested s) r -> Text -> (BeamSqlBackendFromSyntax be -> BeamSqlBackendFromSyntax be -> Maybe (BeamSqlBackendExpressionSyntax be) -> BeamSqlBackendFromSyntax be) -> (r -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QArbitraryJoin] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => QM be db (QNested s) r -> Text -> (BeamSqlBackendFromSyntax be -> BeamSqlBackendFromSyntax be -> Maybe (BeamSqlBackendExpressionSyntax be) -> BeamSqlBackendFromSyntax be) -> (r -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QDistinct] :: Projectible be r => (r -> WithExprContext (BeamSqlBackendSetQuantifierSyntax be)) -> QM be db s r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QDistinct] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => (r -> WithExprContext (BeamSqlBackendSetQuantifierSyntax be)) -> QM be db s r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QForceSelect] :: Projectible be r => (r -> BeamSqlBackendSelectTableSyntax be -> [BeamSqlBackendOrderingSyntax be] -> Maybe Integer -> Maybe Integer -> BeamSqlBackendSelectSyntax be) -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QForceSelect] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => (r -> BeamSqlBackendSelectTableSyntax be -> [BeamSqlBackendOrderingSyntax be] -> Maybe Integer -> Maybe Integer -> BeamSqlBackendSelectSyntax be) -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QGuard] :: WithExprContext (BeamSqlBackendExpressionSyntax be) -> next -> QF be db s next
+ Database.Beam.Query.Internal: [QGuard] :: forall be next (db :: (Type -> Type) -> Type) s. WithExprContext (BeamSqlBackendExpressionSyntax be) -> next -> QF be db s next
- Database.Beam.Query.Internal: [QLimit] :: Projectible be r => Integer -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QLimit] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => Integer -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QOffset] :: Projectible be r => Integer -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QOffset] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => Integer -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QOrderBy] :: Projectible be r => (r -> WithExprContext [BeamSqlBackendOrderingSyntax be]) -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QOrderBy] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => (r -> WithExprContext [BeamSqlBackendOrderingSyntax be]) -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QSetOp] :: Projectible be r => (BeamSqlBackendSelectTableSyntax be -> BeamSqlBackendSelectTableSyntax be -> BeamSqlBackendSelectTableSyntax be) -> QM be db (QNested s) r -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QSetOp] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => (BeamSqlBackendSelectTableSyntax be -> BeamSqlBackendSelectTableSyntax be -> BeamSqlBackendSelectTableSyntax be) -> QM be db (QNested s) r -> QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QSubSelect] :: Projectible be r => QM be db (QNested s) r -> (r -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QSubSelect] :: forall be r (db :: (Type -> Type) -> Type) s next. Projectible be r => QM be db (QNested s) r -> (r -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QTwoWayJoin] :: (Projectible be a, Projectible be b) => QM be db (QNested s) a -> QM be db (QNested s) b -> (BeamSqlBackendFromSyntax be -> BeamSqlBackendFromSyntax be -> Maybe (BeamSqlBackendExpressionSyntax be) -> BeamSqlBackendFromSyntax be) -> ((a, b) -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> ((a, b) -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QTwoWayJoin] :: forall be a b (db :: (Type -> Type) -> Type) s next. (Projectible be a, Projectible be b) => QM be db (QNested s) a -> QM be db (QNested s) b -> (BeamSqlBackendFromSyntax be -> BeamSqlBackendFromSyntax be -> Maybe (BeamSqlBackendExpressionSyntax be) -> BeamSqlBackendFromSyntax be) -> ((a, b) -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be))) -> ((a, b) -> next) -> QF be db s next
- Database.Beam.Query.Internal: [QWindowOver] :: (ProjectibleWithPredicate WindowFrameContext be (WithExprContext (BeamSqlBackendWindowFrameSyntax' be)) window, Projectible be r, Projectible be a) => (r -> window) -> (r -> window -> a) -> QM be db (QNested s) r -> (a -> next) -> QF be db s next
+ Database.Beam.Query.Internal: [QWindowOver] :: forall be window r a (db :: (Type -> Type) -> Type) s next. (ProjectibleWithPredicate WindowFrameContext be (WithExprContext (BeamSqlBackendWindowFrameSyntax' be)) window, Projectible be r, Projectible be a) => (r -> window) -> (r -> window -> a) -> QM be db (QNested s) r -> (a -> next) -> QF be db s next
- Database.Beam.Query.Internal: class ThreadRewritable (s :: Type) (a :: Type) | a -> s where {
+ Database.Beam.Query.Internal: class ThreadRewritable s a | a -> s where {
- Database.Beam.Query.Internal: data QF be (db :: (Type -> Type) -> Type) s next
+ Database.Beam.Query.Internal: data QF be (db :: Type -> Type -> Type) s next
- Database.Beam.Query.Internal: mkFieldNames :: forall be res. (BeamSqlBackend be, Projectible be res) => (Text -> BeamSqlBackendFieldNameSyntax be) -> (res, [Text])
+ Database.Beam.Query.Internal: mkFieldNames :: (BeamSqlBackend be, Projectible be res) => (Text -> BeamSqlBackendFieldNameSyntax be) -> (res, [Text])
- Database.Beam.Query.Internal: mkFieldsSkeleton :: forall be res m. (Projectible be res, MonadState Int m) => (Int -> m (WithExprContext (BeamSqlBackendExpressionSyntax' be))) -> m res
+ Database.Beam.Query.Internal: mkFieldsSkeleton :: (Projectible be res, MonadState Int m) => (Int -> m (WithExprContext (BeamSqlBackendExpressionSyntax' be))) -> m res
- Database.Beam.Query.Internal: newtype Q be (db :: (Type -> Type) -> Type) s a
+ Database.Beam.Query.Internal: newtype Q be (db :: Type -> Type -> Type) s a
- Database.Beam.Query.Internal: newtype QFieldAssignment be tbl a
+ Database.Beam.Query.Internal: newtype QFieldAssignment be (tbl :: Type -> Type -> Type) a
- Database.Beam.Query.Internal: project :: forall be a. Projectible be a => Proxy be -> a -> WithExprContext [BeamSqlBackendExpressionSyntax be]
+ Database.Beam.Query.Internal: project :: Projectible be a => Proxy be -> a -> WithExprContext [BeamSqlBackendExpressionSyntax be]
- Database.Beam.Query.Internal: reproject :: forall be a. (BeamSqlBackend be, Projectible be a) => Proxy be -> (Int -> BeamSqlBackendExpressionSyntax be) -> a -> a
+ Database.Beam.Query.Internal: reproject :: (BeamSqlBackend be, Projectible be a) => Proxy be -> (Int -> BeamSqlBackendExpressionSyntax be) -> a -> a
- Database.Beam.Query.Internal: rescopeQ :: QM be db s res -> QM be db s' res
+ Database.Beam.Query.Internal: rescopeQ :: forall be (db :: (Type -> Type) -> Type) s res s'. QM be db s res -> QM be db s' res
- Database.Beam.Query.Internal: tableNameFromEntity :: IsSql92TableNameSyntax name => DatabaseEntityDescriptor be (TableEntity tbl) -> name
+ Database.Beam.Query.Internal: tableNameFromEntity :: forall name be (tbl :: (Type -> Type) -> Type). IsSql92TableNameSyntax name => DatabaseEntityDescriptor be (TableEntity tbl) -> name
- Database.Beam.Query.Internal: type Projectible be = ProjectibleWithPredicate AnyType be (WithExprContext (BeamSqlBackendExpressionSyntax' be))
+ Database.Beam.Query.Internal: type Projectible be = ProjectibleWithPredicate AnyType be WithExprContext BeamSqlBackendExpressionSyntax' be
- Database.Beam.Query.Internal: type ProjectibleValue be = ProjectibleWithPredicate ValueContext be (WithExprContext (BeamSqlBackendExpressionSyntax' be))
+ Database.Beam.Query.Internal: type ProjectibleValue be = ProjectibleWithPredicate ValueContext be WithExprContext BeamSqlBackendExpressionSyntax' be
- Database.Beam.Query.Internal: type QM be db s = F (QF be db s)
+ Database.Beam.Query.Internal: type QM be (db :: Type -> Type -> Type) s = F QF be db s
- Database.Beam.Query.Internal: type WithRewrittenContext a ctxt :: Type;
+ Database.Beam.Query.Internal: type WithRewrittenContext a ctxt;
- Database.Beam.Query.Internal: type WithRewrittenThread s (s' :: Type) a :: Type;
+ Database.Beam.Query.Internal: type WithRewrittenThread s s' a;
- Database.Beam.Query.SQL92: buildSql92Query' :: forall be db s a. (BeamSqlBackend be, Projectible be a) => Bool -> Text -> Q be db s a -> BeamSqlBackendSelectSyntax be
+ Database.Beam.Query.SQL92: buildSql92Query' :: forall be (db :: (Type -> Type) -> Type) s a. (BeamSqlBackend be, Projectible be a) => Bool -> Text -> Q be db s a -> BeamSqlBackendSelectSyntax be
- Database.Beam.Query.Types: buildSqlQuery :: (HasQBuilder be, Projectible be a) => TablePrefix -> Q be db s a -> BeamSqlBackendSelectSyntax be
+ Database.Beam.Query.Types: buildSqlQuery :: forall a (db :: (Type -> Type) -> Type) s. (HasQBuilder be, Projectible be a) => TablePrefix -> Q be db s a -> BeamSqlBackendSelectSyntax be
- Database.Beam.Query.Types: data Q be (db :: (Type -> Type) -> Type) s a
+ Database.Beam.Query.Types: data Q be (db :: Type -> Type -> Type) s a
- Database.Beam.Query.Types: type Projectible be = ProjectibleWithPredicate AnyType be (WithExprContext (BeamSqlBackendExpressionSyntax' be))
+ Database.Beam.Query.Types: type Projectible be = ProjectibleWithPredicate AnyType be WithExprContext BeamSqlBackendExpressionSyntax' be
- Database.Beam.Schema: TableLens :: Lens' (db f) (f x) -> TableLens f db (x :: k)
+ Database.Beam.Schema: TableLens :: Lens' (db f) (f x) -> TableLens (f :: k -> Type) (db :: (k -> Type) -> Type) (x :: k)
- Database.Beam.Schema: [LensFor] :: Generic t => Lens' t x -> LensFor t x
+ Database.Beam.Schema: [LensFor] :: forall t x. Generic t => Lens' t x -> LensFor t x
- Database.Beam.Schema: class Beamable table
+ Database.Beam.Schema: class Beamable (table :: Type -> Type -> Type)
- Database.Beam.Schema: class Database be db
+ Database.Beam.Schema: class Database be (db :: Type -> Type -> Type)
- Database.Beam.Schema: class GDatabaseLenses outer structure lensType
+ Database.Beam.Schema: class GDatabaseLenses outer (structure :: k -> Type) (lensType :: Type -> Type)
- Database.Beam.Schema: class GTableLenses t (m :: Type -> Type) a (lensType :: Type -> Type)
+ Database.Beam.Schema: class GTableLenses (t :: Type -> Type -> Type) (m :: Type -> Type) (a :: k -> Type) (lensType :: Type -> Type)
- Database.Beam.Schema: class (Typeable table, Beamable table, Beamable (PrimaryKey table)) => Table (table :: (Type -> Type) -> Type) where {
+ Database.Beam.Schema: class (Typeable table, Beamable table, Beamable PrimaryKey table) => Table (table :: Type -> Type -> Type) where {
- Database.Beam.Schema: data Columnar' f a
+ Database.Beam.Schema: data Columnar' (f :: Type -> Type) a
- Database.Beam.Schema: data DatabaseEntity be (db :: (Type -> Type) -> Type) entityType
+ Database.Beam.Schema: data DatabaseEntity be (db :: Type -> Type -> Type) entityType
- Database.Beam.Schema: data EntityModification f be e
+ Database.Beam.Schema: data EntityModification (f :: Type -> Type) be e
- Database.Beam.Schema: data FieldModification f a
+ Database.Beam.Schema: data FieldModification (f :: Type -> Type) a
- Database.Beam.Schema: data Lenses (t :: (Type -> Type) -> Type) (f :: Type -> Type) x
+ Database.Beam.Schema: data Lenses (t :: Type -> Type -> Type) (f :: Type -> Type) x
- Database.Beam.Schema: data PrimaryKey table (column :: Type -> Type) :: Type;
+ Database.Beam.Schema: data PrimaryKey (table :: Type -> Type -> Type) (column :: Type -> Type);
- Database.Beam.Schema: data TableEntity (tbl :: (Type -> Type) -> Type)
+ Database.Beam.Schema: data TableEntity (tbl :: Type -> Type -> Type)
- Database.Beam.Schema: data TableField (table :: (Type -> Type) -> Type) ty
+ Database.Beam.Schema: data TableField (table :: Type -> Type -> Type) ty
- Database.Beam.Schema: dbLenses :: (Generic (db (TableLens f db)), Generic (db f), GDatabaseLenses (db f) (Rep (db f)) (Rep (db (TableLens f db)))) => db (TableLens f db)
+ Database.Beam.Schema: dbLenses :: forall {k} db (f :: k -> Type). (Generic (db (TableLens f db)), Generic (db f), GDatabaseLenses (db f) (Rep (db f)) (Rep (db (TableLens f db)))) => db (TableLens f db)
- Database.Beam.Schema: dbModification :: forall f be db. Database be db => DatabaseModification f be db
+ Database.Beam.Schema: dbModification :: forall (f :: Type -> Type) be db. Database be db => DatabaseModification f be db
- Database.Beam.Schema: fieldName :: Lens' (TableField table ty) Text
+ Database.Beam.Schema: fieldName :: forall (table :: (Type -> Type) -> Type) ty f. Functor f => (Text -> f Text) -> TableField table ty -> f (TableField table ty)
- Database.Beam.Schema: fieldNamed :: Text -> FieldModification (TableField tbl) a
+ Database.Beam.Schema: fieldNamed :: forall (tbl :: (Type -> Type) -> Type) a. Text -> FieldModification (TableField tbl) a
- Database.Beam.Schema: gDatabaseLenses :: GDatabaseLenses outer structure lensType => Lens' outer (structure p) -> lensType ()
+ Database.Beam.Schema: gDatabaseLenses :: forall (p :: k). GDatabaseLenses outer structure lensType => Lens' outer (structure p) -> lensType ()
- Database.Beam.Schema: gTableLenses :: GTableLenses t m a lensType => Proxy a -> Lens' (t m) (a p) -> lensType ()
+ Database.Beam.Schema: gTableLenses :: forall (p :: k). GTableLenses t m a lensType => Proxy a -> Lens' (t m) (a p) -> lensType ()
- Database.Beam.Schema: modifyEntityName :: IsDatabaseEntity be entity => (Text -> Text) -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema: modifyEntityName :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => (Text -> Text) -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema: modifyTable :: (Beamable tbl, Table tbl) => (Text -> Text) -> tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
+ Database.Beam.Schema: modifyTable :: forall tbl be (db :: (Type -> Type) -> Type). (Beamable tbl, Table tbl) => (Text -> Text) -> tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
- Database.Beam.Schema: modifyTableFields :: tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
+ Database.Beam.Schema: modifyTableFields :: forall tbl be (db :: (Type -> Type) -> Type). tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
- Database.Beam.Schema: newtype TableLens f db (x :: k)
+ Database.Beam.Schema: newtype TableLens (f :: k -> Type) (db :: k -> Type -> Type) (x :: k)
- Database.Beam.Schema: pk :: Table t => t f -> PrimaryKey t f
+ Database.Beam.Schema: pk :: forall t (f :: Type -> Type). Table t => t f -> PrimaryKey t f
- Database.Beam.Schema: primaryKey :: Table table => table column -> PrimaryKey table column
+ Database.Beam.Schema: primaryKey :: forall (column :: Type -> Type). Table table => table column -> PrimaryKey table column
- Database.Beam.Schema: setEntityName :: IsDatabaseEntity be entity => Text -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema: setEntityName :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => Text -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema: tableLenses :: (lensType ~ Lenses t f, Generic (t lensType), Generic (t f), GTableLenses t f (Rep (t f)) (Rep (t lensType))) => t (Lenses t f)
+ Database.Beam.Schema: tableLenses :: forall (lensType :: Type -> Type) t (f :: Type -> Type). (lensType ~ Lenses t f, Generic (t lensType), Generic (t f), GTableLenses t f (Rep (t f)) (Rep (t lensType))) => t (Lenses t f)
- Database.Beam.Schema: tableModification :: forall f tbl. Beamable tbl => tbl (FieldModification f)
+ Database.Beam.Schema: tableModification :: forall (f :: Type -> Type) tbl. Beamable tbl => tbl (FieldModification f)
- Database.Beam.Schema: type C f a = Columnar f a
+ Database.Beam.Schema: type C (f :: Type -> Type) a = Columnar f a
- Database.Beam.Schema: type DatabaseModification f be db = db (EntityModification f be)
+ Database.Beam.Schema: type DatabaseModification (f :: Type -> Type) be (db :: Type -> Type -> Type) = db EntityModification f be
- Database.Beam.Schema: type DatabaseSettings be db = db (DatabaseEntity be db)
+ Database.Beam.Schema: type DatabaseSettings be (db :: Type -> Type -> Type) = db DatabaseEntity be db
- Database.Beam.Schema: type HaskellTable table = table Identity
+ Database.Beam.Schema: type HaskellTable (table :: Type -> Type -> Type) = table Identity
- Database.Beam.Schema: type TableSettings table = table (TableField table)
+ Database.Beam.Schema: type TableSettings (table :: Type -> Type -> Type) = table TableField table
- Database.Beam.Schema: withDbModification :: forall db be entity. Database be db => db (entity be db) -> DatabaseModification (entity be db) be db -> db (entity be db)
+ Database.Beam.Schema: withDbModification :: forall db be (entity :: Type -> ((Type -> Type) -> Type) -> Type -> Type). Database be db => db (entity be db) -> DatabaseModification (entity be db) be db -> db (entity be db)
- Database.Beam.Schema: withTableModification :: Beamable tbl => tbl (FieldModification f) -> tbl f -> tbl f
+ Database.Beam.Schema: withTableModification :: forall tbl (f :: Type -> Type). Beamable tbl => tbl (FieldModification f) -> tbl f -> tbl f
- Database.Beam.Schema.Tables: Columnar' :: Columnar f a -> Columnar' f a
+ Database.Beam.Schema.Tables: Columnar' :: Columnar f a -> Columnar' (f :: Type -> Type) a
- Database.Beam.Schema.Tables: ComposeColumnar :: f (Columnar g a) -> ComposeColumnar f g a
+ Database.Beam.Schema.Tables: ComposeColumnar :: f (Columnar g a) -> ComposeColumnar (f :: Type -> Type) (g :: Type -> Type) a
- Database.Beam.Schema.Tables: EntityModification :: Endo (f e) -> EntityModification f be e
+ Database.Beam.Schema.Tables: EntityModification :: Endo (f e) -> EntityModification (f :: Type -> Type) be e
- Database.Beam.Schema.Tables: FieldModification :: (Columnar f a -> Columnar f a) -> FieldModification f a
+ Database.Beam.Schema.Tables: FieldModification :: (Columnar f a -> Columnar f a) -> FieldModification (f :: Type -> Type) a
- Database.Beam.Schema.Tables: [DatabaseEntity] :: IsDatabaseEntity be entityType => DatabaseEntityDescriptor be entityType -> DatabaseEntity be db entityType
+ Database.Beam.Schema.Tables: [DatabaseEntity] :: forall be entityType (db :: (Type -> Type) -> Type). IsDatabaseEntity be entityType => DatabaseEntityDescriptor be entityType -> DatabaseEntity be db entityType
- Database.Beam.Schema.Tables: [HasConstraint] :: c x => HasConstraint c x
+ Database.Beam.Schema.Tables: [HasConstraint] :: forall (c :: Type -> Constraint) x. c x => HasConstraint c x
- Database.Beam.Schema.Tables: [LensFor] :: Generic t => Lens' t x -> LensFor t x
+ Database.Beam.Schema.Tables: [LensFor] :: forall t x. Generic t => Lens' t x -> LensFor t x
- Database.Beam.Schema.Tables: [WithConstraint] :: c x => x -> WithConstraint c x
+ Database.Beam.Schema.Tables: [WithConstraint] :: forall (c :: Type -> Constraint) x. c x => x -> WithConstraint c x
- Database.Beam.Schema.Tables: allBeamValues :: Beamable table => (forall a. Columnar' f a -> b) -> table f -> [b]
+ Database.Beam.Schema.Tables: allBeamValues :: forall table (f :: Type -> Type) b. Beamable table => (forall a. () => Columnar' f a -> b) -> table f -> [b]
- Database.Beam.Schema.Tables: alongsideTable :: Beamable tbl => tbl f -> tbl g -> tbl (Columnar' f :*: Columnar' g)
+ Database.Beam.Schema.Tables: alongsideTable :: forall tbl (f :: Type -> Type) (g :: Type -> Type). Beamable tbl => tbl f -> tbl g -> tbl (Columnar' f :*: Columnar' g)
- Database.Beam.Schema.Tables: changeBeamRep :: Beamable table => (forall a. Columnar' f a -> Columnar' g a) -> table f -> table g
+ Database.Beam.Schema.Tables: changeBeamRep :: forall table (f :: Type -> Type) (g :: Type -> Type). Beamable table => (forall a. () => Columnar' f a -> Columnar' g a) -> table f -> table g
- Database.Beam.Schema.Tables: class Beamable table
+ Database.Beam.Schema.Tables: class Beamable (table :: Type -> Type -> Type)
- Database.Beam.Schema.Tables: class Database be db
+ Database.Beam.Schema.Tables: class Database be (db :: Type -> Type -> Type)
- Database.Beam.Schema.Tables: class GFieldsFulfillConstraint (c :: Type -> Constraint) (exposed :: Type -> Type) withconstraint
+ Database.Beam.Schema.Tables: class GFieldsFulfillConstraint (c :: Type -> Constraint) (exposed :: Type -> Type) (withconstraint :: Type -> Type)
- Database.Beam.Schema.Tables: class GTableSkeleton x
+ Database.Beam.Schema.Tables: class GTableSkeleton (x :: Type -> Type)
- Database.Beam.Schema.Tables: class GZipDatabase be f g h x y z
+ Database.Beam.Schema.Tables: class GZipDatabase be (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type) (x :: Type -> Type) (y :: Type -> Type) (z :: Type -> Type)
- Database.Beam.Schema.Tables: class GZipTables f g h (exposedRep :: Type -> Type) fRep gRep hRep
+ Database.Beam.Schema.Tables: class GZipTables (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type) (exposedRep :: Type -> Type) (fRep :: Type -> Type) (gRep :: Type -> Type) (hRep :: Type -> Type)
- Database.Beam.Schema.Tables: class RenamableWithRule (FieldRenamer (DatabaseEntityDescriptor be entityType)) => IsDatabaseEntity be entityType where {
+ Database.Beam.Schema.Tables: class RenamableWithRule FieldRenamer DatabaseEntityDescriptor be entityType => IsDatabaseEntity be entityType where {
- Database.Beam.Schema.Tables: class RenamableField f
+ Database.Beam.Schema.Tables: class RenamableField (f :: Type -> Type)
- Database.Beam.Schema.Tables: class Retaggable f x | x -> f where {
+ Database.Beam.Schema.Tables: class Retaggable (f :: Type -> Type) x | x -> f where {
- Database.Beam.Schema.Tables: class SubTableStrategyImpl (strategy :: SubTableStrategy) (f :: Type -> Type) sub
+ Database.Beam.Schema.Tables: class SubTableStrategyImpl (strategy :: SubTableStrategy) (f :: Type -> Type) (sub :: Type -> Type -> Type)
- Database.Beam.Schema.Tables: class (Typeable table, Beamable table, Beamable (PrimaryKey table)) => Table (table :: (Type -> Type) -> Type) where {
+ Database.Beam.Schema.Tables: class (Typeable table, Beamable table, Beamable PrimaryKey table) => Table (table :: Type -> Type -> Type) where {
- Database.Beam.Schema.Tables: class TagReducesTo f f' | f -> f'
+ Database.Beam.Schema.Tables: class TagReducesTo (f :: Type -> Type) (f' :: Type -> Type) | f -> f'
- Database.Beam.Schema.Tables: data () => ( (f :: k -> Type) :*: (g :: k -> Type) ) (p :: k)
+ Database.Beam.Schema.Tables: data ( (f :: k -> Type) :*: (g :: k -> Type) ) (p :: k)
- Database.Beam.Schema.Tables: data DatabaseEntity be (db :: (Type -> Type) -> Type) entityType
+ Database.Beam.Schema.Tables: data DatabaseEntity be (db :: Type -> Type -> Type) entityType
- Database.Beam.Schema.Tables: data DatabaseEntityDescriptor be entityType :: Type;
+ Database.Beam.Schema.Tables: data DatabaseEntityDescriptor be entityType;
- Database.Beam.Schema.Tables: data DomainTypeEntity (ty :: Type)
+ Database.Beam.Schema.Tables: data DomainTypeEntity ty
- Database.Beam.Schema.Tables: data Lenses (t :: (Type -> Type) -> Type) (f :: Type -> Type) x
+ Database.Beam.Schema.Tables: data Lenses (t :: Type -> Type -> Type) (f :: Type -> Type) x
- Database.Beam.Schema.Tables: data PrimaryKey table (column :: Type -> Type) :: Type;
+ Database.Beam.Schema.Tables: data PrimaryKey (table :: Type -> Type -> Type) (column :: Type -> Type);
- Database.Beam.Schema.Tables: data TableEntity (tbl :: (Type -> Type) -> Type)
+ Database.Beam.Schema.Tables: data TableEntity (tbl :: Type -> Type -> Type)
- Database.Beam.Schema.Tables: data TableField (table :: (Type -> Type) -> Type) ty
+ Database.Beam.Schema.Tables: data TableField (table :: Type -> Type -> Type) ty
- Database.Beam.Schema.Tables: data ViewEntity (view :: (Type -> Type) -> Type)
+ Database.Beam.Schema.Tables: data ViewEntity (view :: Type -> Type -> Type)
- Database.Beam.Schema.Tables: dbEntityAuto :: (IsDatabaseEntity be entityType, DatabaseEntityDefaultRequirements be entityType) => Text -> DatabaseEntityDescriptor be entityType
+ Database.Beam.Schema.Tables: dbEntityAuto :: IsDatabaseEntity be entityType => Text -> DatabaseEntityDescriptor be entityType
- Database.Beam.Schema.Tables: dbEntityDescriptor :: SimpleGetter (DatabaseEntity be db entityType) (DatabaseEntityDescriptor be entityType)
+ Database.Beam.Schema.Tables: dbEntityDescriptor :: forall be (db :: (Type -> Type) -> Type) entityType f. Functor f => (DatabaseEntityDescriptor be entityType -> f (DatabaseEntityDescriptor be entityType)) -> DatabaseEntity be db entityType -> f (DatabaseEntity be db entityType)
- Database.Beam.Schema.Tables: dbModification :: forall f be db. Database be db => DatabaseModification f be db
+ Database.Beam.Schema.Tables: dbModification :: forall (f :: Type -> Type) be db. Database be db => DatabaseModification f be db
- Database.Beam.Schema.Tables: embedDatabase :: forall be embedded db. Database be embedded => DatabaseSettings be embedded -> embedded (EntityModification (DatabaseEntity be db) be)
+ Database.Beam.Schema.Tables: embedDatabase :: forall be embedded (db :: (Type -> Type) -> Type). Database be embedded => DatabaseSettings be embedded -> embedded (EntityModification (DatabaseEntity be db) be)
- Database.Beam.Schema.Tables: fieldName :: Lens' (TableField table ty) Text
+ Database.Beam.Schema.Tables: fieldName :: forall (table :: (Type -> Type) -> Type) ty f. Functor f => (Text -> f Text) -> TableField table ty -> f (TableField table ty)
- Database.Beam.Schema.Tables: fieldNamed :: Text -> FieldModification (TableField tbl) a
+ Database.Beam.Schema.Tables: fieldNamed :: forall (tbl :: (Type -> Type) -> Type) a. Text -> FieldModification (TableField tbl) a
- Database.Beam.Schema.Tables: fieldPath :: Traversal' (TableField table ty) Text
+ Database.Beam.Schema.Tables: fieldPath :: forall (table :: (Type -> Type) -> Type) ty f. Applicative f => (Text -> f Text) -> TableField table ty -> f (TableField table ty)
- Database.Beam.Schema.Tables: gZipTables :: (GZipTables f g h exposedRep fRep gRep hRep, Applicative m) => Proxy exposedRep -> (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> fRep () -> gRep () -> m (hRep ())
+ Database.Beam.Schema.Tables: gZipTables :: (GZipTables f g h exposedRep fRep gRep hRep, Applicative m) => Proxy exposedRep -> (forall a. () => Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> fRep () -> gRep () -> m (hRep ())
- Database.Beam.Schema.Tables: modifyEntityName :: IsDatabaseEntity be entity => (Text -> Text) -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema.Tables: modifyEntityName :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => (Text -> Text) -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema.Tables: modifyEntitySchema :: IsDatabaseEntity be entity => (Maybe Text -> Maybe Text) -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema.Tables: modifyEntitySchema :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => (Maybe Text -> Maybe Text) -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema.Tables: modifyTable :: (Beamable tbl, Table tbl) => (Text -> Text) -> tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
+ Database.Beam.Schema.Tables: modifyTable :: forall tbl be (db :: (Type -> Type) -> Type). (Beamable tbl, Table tbl) => (Text -> Text) -> tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
- Database.Beam.Schema.Tables: modifyTableFields :: tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
+ Database.Beam.Schema.Tables: modifyTableFields :: forall tbl be (db :: (Type -> Type) -> Type). tbl (FieldModification (TableField tbl)) -> EntityModification (DatabaseEntity be db) be (TableEntity tbl)
- Database.Beam.Schema.Tables: newtype Columnar' f a
+ Database.Beam.Schema.Tables: newtype Columnar' (f :: Type -> Type) a
- Database.Beam.Schema.Tables: newtype ComposeColumnar f g a
+ Database.Beam.Schema.Tables: newtype ComposeColumnar (f :: Type -> Type) (g :: Type -> Type) a
- Database.Beam.Schema.Tables: newtype EntityModification f be e
+ Database.Beam.Schema.Tables: newtype EntityModification (f :: Type -> Type) be e
- Database.Beam.Schema.Tables: newtype FieldModification f a
+ Database.Beam.Schema.Tables: newtype FieldModification (f :: Type -> Type) a
- Database.Beam.Schema.Tables: pk :: Table t => t f -> PrimaryKey t f
+ Database.Beam.Schema.Tables: pk :: forall t (f :: Type -> Type). Table t => t f -> PrimaryKey t f
- Database.Beam.Schema.Tables: primaryKey :: Table table => table column -> PrimaryKey table column
+ Database.Beam.Schema.Tables: primaryKey :: forall (column :: Type -> Type). Table table => table column -> PrimaryKey table column
- Database.Beam.Schema.Tables: retag :: Retaggable f x => (forall a. Columnar' f a -> Columnar' (tag f) a) -> x -> Retag tag x
+ Database.Beam.Schema.Tables: retag :: forall (tag :: (Type -> Type) -> Type -> Type). Retaggable f x => (forall a. () => Columnar' f a -> Columnar' (tag f) a) -> x -> Retag tag x
- Database.Beam.Schema.Tables: setEntityName :: IsDatabaseEntity be entity => Text -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema.Tables: setEntityName :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => Text -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema.Tables: setEntitySchema :: IsDatabaseEntity be entity => Maybe Text -> EntityModification (DatabaseEntity be db) be entity
+ Database.Beam.Schema.Tables: setEntitySchema :: forall be entity (db :: (Type -> Type) -> Type). IsDatabaseEntity be entity => Maybe Text -> EntityModification (DatabaseEntity be db) be entity
- Database.Beam.Schema.Tables: tableModification :: forall f tbl. Beamable tbl => tbl (FieldModification f)
+ Database.Beam.Schema.Tables: tableModification :: forall (f :: Type -> Type) tbl. Beamable tbl => tbl (FieldModification f)
- Database.Beam.Schema.Tables: tableValuesNeeded :: Beamable table => Proxy table -> Int
+ Database.Beam.Schema.Tables: tableValuesNeeded :: forall (table :: (Type -> Type) -> Type). Beamable table => Proxy table -> Int
- Database.Beam.Schema.Tables: tblSkeleton :: (Beamable table, Generic (TableSkeleton table), GTableSkeleton (Rep (TableSkeleton table))) => TableSkeleton table
+ Database.Beam.Schema.Tables: tblSkeleton :: Beamable table => TableSkeleton table
- Database.Beam.Schema.Tables: type C f a = Columnar f a
+ Database.Beam.Schema.Tables: type C (f :: Type -> Type) a = Columnar f a
- Database.Beam.Schema.Tables: type DatabaseEntityDefaultRequirements be entityType :: Constraint;
+ Database.Beam.Schema.Tables: type DatabaseEntityDefaultRequirements be entityType;
- Database.Beam.Schema.Tables: type DatabaseEntityRegularRequirements be entityType :: Constraint;
+ Database.Beam.Schema.Tables: type DatabaseEntityRegularRequirements be entityType;
- Database.Beam.Schema.Tables: type DatabaseModification f be db = db (EntityModification f be)
+ Database.Beam.Schema.Tables: type DatabaseModification (f :: Type -> Type) be (db :: Type -> Type -> Type) = db EntityModification f be
- Database.Beam.Schema.Tables: type DatabaseSettings be db = db (DatabaseEntity be db)
+ Database.Beam.Schema.Tables: type DatabaseSettings be (db :: Type -> Type -> Type) = db DatabaseEntity be db
- Database.Beam.Schema.Tables: type FieldsFulfillConstraint (c :: Type -> Constraint) t = (Generic (t (HasConstraint c)), Generic (t Identity), Generic (t Exposed), GFieldsFulfillConstraint c (Rep (t Exposed)) (Rep (t (HasConstraint c))))
+ Database.Beam.Schema.Tables: type FieldsFulfillConstraint (c :: Type -> Constraint) (t :: Type -> Type -> Type) = (Generic t HasConstraint c, Generic t Identity, Generic t Exposed, GFieldsFulfillConstraint c Rep t Exposed Rep t HasConstraint c)
- Database.Beam.Schema.Tables: type FieldsFulfillConstraintNullable (c :: Type -> Constraint) t = (Generic (t (Nullable (HasConstraint c))), Generic (t (Nullable Identity)), Generic (t (Nullable Exposed)), GFieldsFulfillConstraint c (Rep (t (Nullable Exposed))) (Rep (t (Nullable (HasConstraint c)))))
+ Database.Beam.Schema.Tables: type FieldsFulfillConstraintNullable (c :: Type -> Constraint) (t :: Type -> Type -> Type) = (Generic t Nullable HasConstraint c, Generic t Nullable Identity, Generic t Nullable Exposed, GFieldsFulfillConstraint c Rep t Nullable Exposed Rep t Nullable HasConstraint c)
- Database.Beam.Schema.Tables: type HaskellTable table = table Identity
+ Database.Beam.Schema.Tables: type HaskellTable (table :: Type -> Type -> Type) = table Identity
- Database.Beam.Schema.Tables: type Retag (tag :: (Type -> Type) -> Type -> Type) x :: Type;
+ Database.Beam.Schema.Tables: type Retag (tag :: Type -> Type -> Type -> Type) x;
- Database.Beam.Schema.Tables: type TableSettings table = table (TableField table)
+ Database.Beam.Schema.Tables: type TableSettings (table :: Type -> Type -> Type) = table TableField table
- Database.Beam.Schema.Tables: type TableSkeleton table = table Ignored
+ Database.Beam.Schema.Tables: type TableSkeleton (table :: Type -> Type -> Type) = table Ignored
- Database.Beam.Schema.Tables: type family ChooseSubTableStrategy (tbl :: (Type -> Type) -> Type) (sub :: (Type -> Type) -> Type) :: SubTableStrategy
+ Database.Beam.Schema.Tables: type family ChooseSubTableStrategy (tbl :: Type -> Type -> Type) (sub :: Type -> Type -> Type) :: SubTableStrategy
- Database.Beam.Schema.Tables: withConstrainedFields :: forall c tbl. (FieldsFulfillConstraint c tbl, Beamable tbl) => tbl Identity -> tbl (WithConstraint c)
+ Database.Beam.Schema.Tables: withConstrainedFields :: forall (c :: Type -> Constraint) tbl. (FieldsFulfillConstraint c tbl, Beamable tbl) => tbl Identity -> tbl (WithConstraint c)
- Database.Beam.Schema.Tables: withConstraints :: forall c tbl. (Beamable tbl, FieldsFulfillConstraint c tbl) => tbl (HasConstraint c)
+ Database.Beam.Schema.Tables: withConstraints :: forall (c :: Type -> Constraint) tbl. (Beamable tbl, FieldsFulfillConstraint c tbl) => tbl (HasConstraint c)
- Database.Beam.Schema.Tables: withDbModification :: forall db be entity. Database be db => db (entity be db) -> DatabaseModification (entity be db) be db -> db (entity be db)
+ Database.Beam.Schema.Tables: withDbModification :: forall db be (entity :: Type -> ((Type -> Type) -> Type) -> Type -> Type). Database be db => db (entity be db) -> DatabaseModification (entity be db) be db -> db (entity be db)
- Database.Beam.Schema.Tables: withNullableConstrainedFields :: forall c tbl. (FieldsFulfillConstraintNullable c tbl, Beamable tbl) => tbl (Nullable Identity) -> tbl (Nullable (WithConstraint c))
+ Database.Beam.Schema.Tables: withNullableConstrainedFields :: forall (c :: Type -> Constraint) tbl. (FieldsFulfillConstraintNullable c tbl, Beamable tbl) => tbl (Nullable Identity) -> tbl (Nullable (WithConstraint c))
- Database.Beam.Schema.Tables: withNullableConstraints :: forall c tbl. (Beamable tbl, FieldsFulfillConstraintNullable c tbl) => tbl (Nullable (HasConstraint c))
+ Database.Beam.Schema.Tables: withNullableConstraints :: forall (c :: Type -> Constraint) tbl. (Beamable tbl, FieldsFulfillConstraintNullable c tbl) => tbl (Nullable (HasConstraint c))
- Database.Beam.Schema.Tables: withTableModification :: Beamable tbl => tbl (FieldModification f) -> tbl f -> tbl f
+ Database.Beam.Schema.Tables: withTableModification :: forall tbl (f :: Type -> Type). Beamable tbl => tbl (FieldModification f) -> tbl f -> tbl f
- Database.Beam.Schema.Tables: zipBeamFieldsM :: (Beamable table, HasBeamFields table f g h, Applicative m) => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> table f -> table g -> m (table h)
+ Database.Beam.Schema.Tables: zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). (Beamable table, Applicative m) => (forall a. () => Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> table f -> table g -> m (table h)
Files
- ChangeLog.md +13/−1
- Database/Beam/Backend/SQL/Types.hs +4/−3
- Database/Beam/Query/Combinators.hs +42/−4
- Database/Beam/Query/Internal.hs +6/−5
- Database/Beam/Schema/Tables.hs +16/−3
- beam-core.cabal +7/−2
- test/Database/Beam/Test/SQL.hs +35/−1
ChangeLog.md view
@@ -1,8 +1,20 @@+# 0.10.4.0++## Added features++* Added a `Generic` instance to `SqlNull`, `SqlBitString`, and `SqlSerial` (#736).+* Added a note to `default_` to specify that it has more restrictions than its type may indicate (#744).+* Added `limitMaybe_` and `offsetMaybe_` (#633).++## Updated dependencies++* Updated the upper bound to include `containers-0.8`.+ # 0.10.3.1 ## Updated dependencies -* Updated the upper bound to include `hashable-1.5`. +* Updated the upper bound to include `hashable-1.5`. ## Bug fixes
Database/Beam/Backend/SQL/Types.hs view
@@ -3,14 +3,15 @@ import qualified Data.Aeson as Json import Data.Bits+import GHC.Generics (Generic) data SqlNull = SqlNull- deriving (Show, Eq, Ord, Bounded, Enum)+ deriving (Show, Eq, Ord, Bounded, Enum, Generic) newtype SqlBitString = SqlBitString Integer- deriving (Show, Eq, Ord, Enum, Bits)+ deriving (Show, Eq, Ord, Enum, Bits, Generic) newtype SqlSerial a = SqlSerial { unSerial :: a }- deriving (Show, Read, Eq, Ord, Num, Integral, Real, Enum)+ deriving (Show, Read, Eq, Ord, Num, Integral, Real, Enum, Generic) instance Json.FromJSON a => Json.FromJSON (SqlSerial a) where parseJSON a = SqlSerial <$> Json.parseJSON a
Database/Beam/Query/Combinators.hs view
@@ -1,6 +1,5 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE UndecidableInstances #-}-{-# LANGUAGE CPP #-} module Database.Beam.Query.Combinators ( -- * Various SQL functions and constructs@@ -41,7 +40,8 @@ , QIfCond, QIfElse , (<|>.) - , limit_, offset_+ , limit_, limitMaybe_+ , offset_, offsetMaybe_ , as_ @@ -66,8 +66,8 @@ , orderBy_, asc_, desc_, nullsFirst_, nullsLast_ ) where -import Database.Beam.Backend.Types import Database.Beam.Backend.SQL+import Database.Beam.Backend.Types import Database.Beam.Query.Internal import Database.Beam.Query.Ord@@ -83,6 +83,7 @@ import Data.Maybe import Data.Proxy import Data.Time (LocalTime)+import Unsafe.Coerce (unsafeCoerce) import GHC.TypeLits (TypeError, ErrorMessage(Text)) @@ -328,6 +329,8 @@ nub_ (Q sub) = Q $ liftF (QDistinct (\_ _ -> setQuantifierDistinct) sub id) -- | Limit the number of results returned by a query.+--+-- See also `limitMaybe_` to conditionally apply a limit. limit_ :: forall s a be db . ( Projectible be a , ThreadRewritable (QNested s) a )@@ -335,7 +338,22 @@ limit_ limit' (Q q) = Q (liftF (QLimit limit' q (rewriteThread (Proxy @s)))) --- | Drop the first `offset'` results.+-- | Conditionally limit the number of results returned by a query.+--+-- @since 0.10.4.0+limitMaybe_ :: forall s a be db+ . ( Projectible be a+ , ThreadRewritable (QNested s) a )+ => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)+limitMaybe_ (Just limit') (Q q) =+ Q (liftF (QLimit limit' q (rewriteThread (Proxy @s))))+-- This uses unsafeCoerce, but should be safe since this function is tested.+-- See discussion on https://github.com/haskell-beam/beam/pull/633.+limitMaybe_ Nothing (Q q) = Q (unsafeCoerce q)++-- | Drop the first `offset` results.+--+-- See also `offsetMaybe_` to conditionally apply an offset offset_ :: forall s a be db . ( Projectible be a , ThreadRewritable (QNested s) a )@@ -343,6 +361,19 @@ offset_ offset' (Q q) = Q (liftF (QOffset offset' q (rewriteThread (Proxy @s)))) +-- | Conditionally drop the first `offset` results.+--+-- @since 0.10.4.0+offsetMaybe_ :: forall s a be db+ . ( Projectible be a+ , ThreadRewritable (QNested s) a )+ => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)+offsetMaybe_ (Just offset') (Q q) =+ Q (liftF (QOffset offset' q (rewriteThread (Proxy @s))))+-- This uses unsafeCoerce, but should be safe since this function is tested.+-- See discussion on https://github.com/haskell-beam/beam/pull/633.+offsetMaybe_ Nothing (Q q) = Q (unsafeCoerce q)+ -- | Use the SQL @EXISTS@ operator to determine if the given query returns any results exists_ :: ( BeamSqlBackend be, HasQBuilder be, Projectible be a) => Q be db s a -> QExpr be s Bool@@ -564,7 +595,14 @@ in changeBeamRep (\(Columnar' (WithConstraint x :: WithConstraint (BeamSqlBackendCanSerialize be) (Maybe x))) -> Columnar' (QExpr (pure (valueE (sqlValueSyntax x))))) fields +-- | SQL @DEFAULT@ support.+--+-- Note that `default_` has restrictions not currently represented in the Haskell type system.+-- For example, using `default_` as the argument to a function like `coalesce_`+-- will result in a runtime error, just like the SQL code @COALESCE (NULL, DEFAULT)@+-- would raise a runtime error. default_ :: BeamSqlBackend be => QGenExpr ctxt be s a+-- See #744 for issues with `default_`. default_ = QExpr (pure defaultE) -- * Window functions
Database/Beam/Query/Internal.hs view
@@ -1,6 +1,5 @@ {-# OPTIONS_GHC -fno-warn-unticked-promoted-constructors#-} {-# LANGUAGE UndecidableInstances #-}-{-# LANGUAGE CPP #-} module Database.Beam.Query.Internal where @@ -15,9 +14,6 @@ import Data.Typeable import Data.Vector.Sized (Vector) import qualified Data.Vector.Sized as VS-#if !MIN_VERSION_base(4, 11, 0)-import Data.Semigroup-#endif import Control.Monad.Free.Church import Control.Monad.State@@ -41,9 +37,14 @@ QAll :: Projectible be r => (TablePrefix -> T.Text -> BeamSqlBackendFromSyntax be)+ -- ^ build the FROM syntax using the table prefix and the table name -> (T.Text -> r)+ -- ^ Given a table name, get the various Qs for all the expressions in that table -> (r -> Maybe (WithExprContext (BeamSqlBackendExpressionSyntax be)))- -> ((T.Text, r) -> next) -> QF be db s next+ -- ^ on clause, if any+ -> ((T.Text, r) -> next)+ -- ^ Generate the result from the table name and projectible result+ -> QF be db s next QArbitraryJoin :: Projectible be r => QM be db (QNested s) r
Database/Beam/Schema/Tables.hs view
@@ -19,6 +19,7 @@ , DatabaseEntityDescriptor(..) , DatabaseEntity(..), TableEntity, ViewEntity, DomainTypeEntity , dbEntityDescriptor+ , dbName, dbSchema, dbTableFields , DatabaseModification, EntityModification(..) , FieldModification(..) , dbModification, tableModification, withDbModification@@ -96,7 +97,6 @@ import GHC.Types import Lens.Micro hiding (to)-import qualified Lens.Micro as Lens -- | Allows introspection into database types. --@@ -398,8 +398,21 @@ IsDatabaseEntity be entityType => DatabaseEntityDescriptor be entityType -> DatabaseEntity be db entityType -dbEntityDescriptor :: SimpleGetter (DatabaseEntity be db entityType) (DatabaseEntityDescriptor be entityType)-dbEntityDescriptor = Lens.to (\(DatabaseEntity e) -> e)+dbEntityDescriptor :: Lens' (DatabaseEntity be db entityType) (DatabaseEntityDescriptor be entityType)+dbEntityDescriptor f (DatabaseEntity d) = DatabaseEntity <$> f d++dbName :: IsDatabaseEntity be entityType => Lens' (DatabaseEntity be db entityType) Text+dbName = dbEntityDescriptor . dbEntityName++dbSchema :: IsDatabaseEntity be entityType => Traversal' (DatabaseEntity be db entityType) (Maybe Text)+dbSchema = dbEntityDescriptor . dbEntitySchema++dbTableFields :: Lens' (DatabaseEntity be db (TableEntity table)) (TableSettings table)+dbTableFields = dbEntityDescriptor . (\f DatabaseTable { dbTableSchema = sch+ , dbTableOrigName = nm+ , dbTableCurrentName = curNm+ , dbTableSettings = s } ->+ DatabaseTable sch nm curNm <$> f s) -- | When parameterized by this entity tag, a database type will hold -- meta-information on the Haskell mappings of database entities. Under the
beam-core.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: beam-core-version: 0.10.3.1+version: 0.10.4.0 synopsis: Type-safe, feature-complete SQL query and manipulation interface for Haskell description: Beam is a Haskell library for type-safe querying and manipulation of SQL databases. Beam is modular and supports various backends. In order to use beam, you will need to use@@ -72,7 +72,7 @@ time >=1.6 && <1.13, hashable >=1.2.4.0 && <1.6, network-uri >=2.6 && <2.7,- containers >=0.5 && <0.8,+ containers >=0.5 && <0.9, scientific >=0.3 && <0.4, vector >=0.11 && <0.14, vector-sized >=0.5 && <1.7,@@ -84,8 +84,13 @@ DefaultSignatures, KindSignatures, MultiParamTypeClasses, DeriveGeneric, DeriveFunctor, DeriveDataTypeable, TypeApplications, FunctionalDependencies, DataKinds, BangPatterns, InstanceSigs ghc-options: -Wall+ -Widentities+ -Wincomplete-uni-patterns+ -Wincomplete-record-updates if impl(ghc >= 8.8) ghc-options: -Wcompat+ if impl(ghc >= 8.10)+ ghc-options: -Wunused-packages if flag(werror) ghc-options: -Werror if impl(ghc >= 8.10)
test/Database/Beam/Test/SQL.hs view
@@ -1059,7 +1059,9 @@ limitOffset :: TestTree limitOffset = testGroup "LIMIT/OFFSET support"- [ limitSupport, offsetSupport, limitOffsetSupport+ [ limitSupport, maybeLimitSupportJust, maybeLimitSupportNothing+ , offsetSupport, maybeOffsetSupportJust, maybeOffsetSupportNothing+ , limitOffsetSupport , limitPlacedOnUnion ] where@@ -1071,6 +1073,22 @@ selectLimit @?= Just 20 selectOffset @?= Nothing + maybeLimitSupportJust =+ testCase "Maybe LIMIT support (Just)" $+ do SqlSelect Select { selectLimit, selectOffset } <-+ pure $ selectMock $ limitMaybe_ (Just 20) (all_ (_employees employeeDbSettings))++ selectLimit @?= Just 20+ selectOffset @?= Nothing++ maybeLimitSupportNothing =+ testCase "Maybe LIMIT support (Nothing)" $+ do SqlSelect Select { selectLimit, selectOffset } <-+ pure $ selectMock $ limitMaybe_ Nothing (all_ (_employees employeeDbSettings))++ selectLimit @?= Nothing+ selectOffset @?= Nothing+ offsetSupport = testCase "Basic OFFSET support" $ do SqlSelect Select { selectLimit, selectOffset } <-@@ -1078,6 +1096,22 @@ selectLimit @?= Nothing selectOffset @?= Just 102++ maybeOffsetSupportJust =+ testCase "Maybe OFFSET support (Just)" $+ do SqlSelect Select { selectLimit, selectOffset } <-+ pure $ selectMock $ offsetMaybe_ (Just 2) $ offset_ 100 (all_ (_employees employeeDbSettings))++ selectLimit @?= Nothing+ selectOffset @?= Just 102++ maybeOffsetSupportNothing =+ testCase "Maybe OFFSET support (Nothing)" $+ do SqlSelect Select { selectLimit, selectOffset } <-+ pure $ selectMock $ offsetMaybe_ Nothing $ offset_ 100 (all_ (_employees employeeDbSettings))++ selectLimit @?= Nothing+ selectOffset @?= Just 100 limitOffsetSupport = testCase "Basic LIMIT .. OFFSET .. support" $