postgresql-tx-squeal 0.1.0.0 → 0.2.0.0
raw patch · 5 files changed
+385/−114 lines, 5 filesdep +unliftiodep ~postgresql-txdep ~squeal-postgresqlnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependencies added: unliftio
Dependency ranges changed: postgresql-tx, squeal-postgresql
API changes (from Hackage documentation)
- Database.PostgreSQL.Tx.Squeal: instance Database.PostgreSQL.Tx.Tx (Database.PostgreSQL.Tx.Squeal.SquealM db0 db1)
- Database.PostgreSQL.Tx.Squeal: instance Database.PostgreSQL.Tx.UnsafeTx io t => Database.PostgreSQL.Tx.UnsafeTx (Squeal.PostgreSQL.Session.PQ db0 db1 io) (Squeal.PostgreSQL.Session.PQ db0 db1 t)
- Database.PostgreSQL.Tx.Squeal: type SquealM db0 db1 = PQ db0 db1 TxM
- Database.PostgreSQL.Tx.Squeal: unsafeRunSquealTransaction :: (PQ db0 db1 IO a -> PQ db0 db1 IO a) -> Connection -> TxM a -> IO a
- Database.PostgreSQL.Tx.Squeal: unsafeSquealIOTx :: PQ db0 db1 IO a -> SquealM db0 db1 a
- Database.PostgreSQL.Tx.Squeal: unsafeSquealIOTx1 :: (x1 -> PQ db0 db1 IO a) -> x1 -> SquealM db0 db1 a
- Database.PostgreSQL.Tx.Squeal: unsafeSquealIOTx2 :: (x1 -> x2 -> PQ db0 db1 IO a) -> x1 -> x2 -> SquealM db0 db1 a
- Database.PostgreSQL.Tx.Squeal: unsafeSquealIOTx3 :: (x1 -> x2 -> x3 -> PQ db0 db1 IO a) -> x1 -> x2 -> x3 -> SquealM db0 db1 a
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnConflict :: ConflictTarget table -> ConflictAction tab with db params table -> ConflictClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnConflictDoRaise :: ConflictClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnDeleteCascade :: OnDeleteClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnDeleteNoAction :: OnDeleteClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnDeleteRestrict :: OnDeleteClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnUpdateCascade :: OnUpdateClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnUpdateNoAction :: OnUpdateClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnUpdateRestrict :: OnUpdateClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [migration] :: Migration -> def db0 db1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [name] :: Migration -> Text
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: class KnownSymbol alias => Has (alias :: Symbol) (fields :: [(Symbol, kind)]) (field :: kind) | alias fields -> field
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data ConflictTarget (table :: ([(Symbol, kind)], k)) :: forall kind k. () => ([(Symbol, kind)], k) -> Type
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data OnDeleteClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data OnUpdateClause
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Aliased (expression :: k -> Type) (aliased :: (Symbol, k)) :: forall k. () => k -> Type -> (Symbol, k) -> Type
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype K a (b :: k) :: forall k. () => Type -> k -> Type
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype GroupByClause (grp :: k) (from :: k1) :: forall k k1. () => k -> k1 -> Type
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype Indexed (t :: k2 -> k3 -> k -> k1 -> Type) (m :: k) (r :: k1) (i :: k2) (j :: k3) :: forall k k1 k2 k3. () => k2 -> k3 -> k -> k1 -> Type -> k -> k1 -> k2 -> k3 -> Type
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern SerializationFailure :: () => () => ByteString -> SquealException
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Distinct :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (x :: NullType). () => () => Expression Ungrouped lat with db params from x -> AggregateArg (x : ([] :: [NullType])) lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern NotDefault :: forall ty. () => () => ty -> Optional I (Def :=> ty)
+ Database.PostgreSQL.Tx.Squeal: SquealTxM :: TxM r a -> SquealTxM' (db :: SchemasType) r a
+ Database.PostgreSQL.Tx.Squeal: [fromSquealTxM] :: SquealTxM' (db :: SchemasType) r a -> TxM r a
+ Database.PostgreSQL.Tx.Squeal: data SquealConnection
+ Database.PostgreSQL.Tx.Squeal: mkSquealConnection :: Connection -> SquealConnection
+ Database.PostgreSQL.Tx.Squeal: newtype SquealTxM' (db :: SchemasType) r a
+ Database.PostgreSQL.Tx.Squeal: transactionallySerializable :: SquealEnv r => r -> TxM r a -> IO a
+ Database.PostgreSQL.Tx.Squeal: type SquealEnv r = (TxEnv SquealConnection r) :: Constraint
+ Database.PostgreSQL.Tx.Squeal: type SquealTxM (db :: SchemasType) a = forall r. (SquealEnv r) => SquealTxM' db r a
+ Database.PostgreSQL.Tx.Squeal: type SquealM a = forall r. (SquealEnv r) => TxM r a
+ Database.PostgreSQL.Tx.Squeal.Internal: SquealTxM :: TxM r a -> SquealTxM' (db :: SchemasType) r a
+ Database.PostgreSQL.Tx.Squeal.Internal: UnsafeSquealConnection :: IO Connection -> SquealConnection
+ Database.PostgreSQL.Tx.Squeal.Internal: [fromSquealTxM] :: SquealTxM' (db :: SchemasType) r a -> TxM r a
+ Database.PostgreSQL.Tx.Squeal.Internal: [unsafeGetLibPQConnection] :: SquealConnection -> IO Connection
+ Database.PostgreSQL.Tx.Squeal.Internal: fromSquealException :: SquealException -> TxException
+ Database.PostgreSQL.Tx.Squeal.Internal: instance (TypeError ...) => Control.Monad.IO.Class.MonadIO (Database.PostgreSQL.Tx.Squeal.Internal.SquealTxM' db r)
+ Database.PostgreSQL.Tx.Squeal.Internal: instance GHC.Base.Applicative (Database.PostgreSQL.Tx.Squeal.Internal.SquealTxM' db r)
+ Database.PostgreSQL.Tx.Squeal.Internal: instance GHC.Base.Functor (Database.PostgreSQL.Tx.Squeal.Internal.SquealTxM' db r)
+ Database.PostgreSQL.Tx.Squeal.Internal: instance GHC.Base.Monad (Database.PostgreSQL.Tx.Squeal.Internal.SquealTxM' db r)
+ Database.PostgreSQL.Tx.Squeal.Internal: mkSquealConnection :: Connection -> SquealConnection
+ Database.PostgreSQL.Tx.Squeal.Internal: newtype SquealConnection
+ Database.PostgreSQL.Tx.Squeal.Internal: newtype SquealTxM' (db :: SchemasType) r a
+ Database.PostgreSQL.Tx.Squeal.Internal: transactionallyRetry' :: (MonadUnliftIO m, MonadPQ db m, Exception e) => TransactionMode -> (e -> Bool) -> m a -> m a
+ Database.PostgreSQL.Tx.Squeal.Internal: type SquealEnv r = (TxEnv SquealConnection r) :: Constraint
+ Database.PostgreSQL.Tx.Squeal.Internal: type SquealTxM (db :: SchemasType) a = forall r. (SquealEnv r) => SquealTxM' db r a
+ Database.PostgreSQL.Tx.Squeal.Internal: type SquealM a = forall r. (SquealEnv r) => TxM r a
+ Database.PostgreSQL.Tx.Squeal.Internal: unsafeRunSquealTransaction :: forall r a. SquealEnv r => (forall db. PQ db db IO a -> PQ db db IO a) -> r -> TxM r a -> IO a
+ Database.PostgreSQL.Tx.Squeal.Internal: unsafeSquealIOTxM :: PQ db db IO a -> SquealTxM db a
+ Database.PostgreSQL.Tx.Squeal.Internal: unsafeSquealIOTxM1 :: (x1 -> PQ db db IO a) -> x1 -> SquealTxM db a
+ Database.PostgreSQL.Tx.Squeal.Internal: unsafeSquealIOTxM2 :: (x1 -> x2 -> PQ db db IO a) -> x1 -> x2 -> SquealTxM db a
+ Database.PostgreSQL.Tx.Squeal.Internal: unsafeSquealIOTxM3 :: (x1 -> x2 -> x3 -> PQ db db IO a) -> x1 -> x2 -> x3 -> SquealTxM db a
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Cascade :: ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: KeyShare :: LockStrength
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: NoAction :: ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: NoKeyUpdate :: LockStrength
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: NoWait :: Waiting
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnDelete :: ReferentialAction -> OnDeleteClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: OnUpdate :: ReferentialAction -> OnUpdateClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Procedure :: [NullType] -> SchemumType
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Restrict :: ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: SetDefault :: ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: SetNull :: ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Share :: LockStrength
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: SkipLocked :: Waiting
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeProcedureDefinition :: ByteString -> ProcedureDefinition (db :: k) (args :: k1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Update :: LockStrength
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Wait :: Waiting
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [For] :: forall kind (tabs :: [Symbol]) (from :: [(Symbol, kind)]) (tables :: [(Symbol, kind)]). HasAll tabs from tables => LockStrength -> NP Alias tabs -> Waiting -> LockingClause from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [OnConflictDoRaise] :: forall (tab :: Symbol) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (table :: ([(Symbol, TableConstraint)], ColumnsType)). ConflictClause tab with db params table
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [OnConflict] :: forall (table :: ([(Symbol, TableConstraint)], ColumnsType)) (tab :: Symbol) (with :: FromType) (db :: SchemasType) (params :: [NullType]). ConflictTarget table -> ConflictAction tab with db params table -> ConflictClause tab with db params table
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [lockingClauses] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [LockingClause from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [migrationDef] :: Migration (def :: k -> k1 -> Type) (db0 :: k) (db1 :: k1) -> def db0 db1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [migrationName] :: Migration (def :: k -> k1 -> Type) (db0 :: k) (db1 :: k1) -> Text
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderProcedureDefinition] :: ProcedureDefinition (db :: k) (args :: k1) -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableSetSchema :: forall (sch0 :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema0 :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (sch1 :: Symbol) (schema1 :: [(Symbol, SchemumType)]). (Has sch0 db schema0, Has tab schema0 ('Table table), Has sch1 db schema1) => QualifiedAlias sch0 tab -> Alias sch1 -> Definition db (SetSchema sch0 sch1 schema0 schema1 tab 'Table table db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTypeRename :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (ty1 :: Symbol) (ty0 :: Symbol) (ty :: PGType). (Has sch db schema, KnownSymbol ty1, Has ty0 schema ('Typedef ty)) => QualifiedAlias sch ty0 -> Alias ty1 -> Definition db (Alter sch (Rename ty0 ty1 schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTypeSetSchema :: forall (sch0 :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema0 :: [(Symbol, SchemumType)]) (ty :: Symbol) (td :: PGType) (sch1 :: Symbol) (schema1 :: [(Symbol, SchemumType)]). (Has sch0 db schema0, Has ty schema0 ('Typedef td), Has sch1 db schema1) => QualifiedAlias sch0 ty -> Alias sch1 -> Definition db (SetSchema sch0 sch1 schema0 schema1 ty 'Typedef td db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterViewRename :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (ty1 :: Symbol) (ty0 :: Symbol) (vw :: RowType). (Has sch db schema, KnownSymbol ty1, Has ty0 schema ('View vw)) => QualifiedAlias sch ty0 -> Alias ty1 -> Definition db (Alter sch (Rename ty0 ty1 schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterViewSetSchema :: forall (sch0 :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema0 :: [(Symbol, SchemumType)]) (vw :: Symbol) (view :: RowType) (sch1 :: Symbol) (schema1 :: [(Symbol, SchemumType)]). (Has sch0 db schema0, Has vw schema0 ('View view), Has sch1 db schema1) => QualifiedAlias sch0 vw -> Alias sch1 -> Definition db (SetSchema sch0 sch1 schema0 schema1 vw 'View view db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: appendRows :: forall (left :: [(Symbol, NullType)]) l r z (right :: RowType). SListI left => (l -> r -> z) -> DecodeRow left l -> DecodeRow right r -> DecodeRow (Join left right) z
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrAll :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty1 :: NullType) (ty2 :: NullType). Expression grp lat with db params from ty1 -> Operator ty1 ty2 ('Null 'PGbool) -> Expression grp lat with db params from ('Null ('PGvararray ty2)) -> Condition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrAny :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty1 :: NullType) (ty2 :: NullType). Expression grp lat with db params from ty1 -> Operator ty1 ty2 ('Null 'PGbool) -> Expression grp lat with db params from ('Null ('PGvararray ty2)) -> Condition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: call :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (pro :: Symbol) (x :: NullType) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has pro schema ('Procedure '[x])) => QualifiedAlias sch pro -> Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)]) x -> Manipulation with db params ('[] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: callN :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (pro :: Symbol) (xs :: [NullType]) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has pro schema ('Procedure xs), SListI xs) => QualifiedAlias sch pro -> NP (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)])) xs -> Manipulation with db params ('[] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: class KnownSymbol alias => HasErr (err :: k) (alias :: Symbol) (fields :: [(Symbol, kind)]) (field :: kind) | alias fields -> field
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cmdStatus :: MonadIO io => Result y -> io Text
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cmdTuples :: MonadIO io => Result y -> io (Maybe Row)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnColumn :: forall (sch :: Symbol) (tab :: Symbol) (col :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (cons :: TableConstraints) (cols :: ColumnsType) (def :: Optionality) (nulltyp :: NullType). (KnownSymbol sch, KnownSymbol tab, KnownSymbol col, Has sch db schema, Has tab schema ('Table '(cons, cols)), Has col cols '(def, nulltyp)) => QualifiedAlias sch tab -> Alias col -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnFunction :: forall (sch :: Symbol) (fun :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (function :: FunctionType). (KnownSymbol sch, KnownSymbol fun, Has sch db schema, Has fun schema ('Function function)) => QualifiedAlias sch fun -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnIndex :: forall (sch :: Symbol) (ind :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (index :: IndexType). (KnownSymbol sch, KnownSymbol ind, Has sch db schema, Has ind schema ('Index index)) => QualifiedAlias sch ind -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnSchema :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType). (KnownSymbol sch, Has sch db schema) => Alias sch -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnTable :: forall (sch :: Symbol) (tab :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (table :: TableType). (KnownSymbol sch, KnownSymbol tab, Has sch db schema, Has tab schema ('Table table)) => QualifiedAlias sch tab -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnType :: forall (sch :: Symbol) (typ :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (type_ :: PGType). (KnownSymbol sch, KnownSymbol typ, Has sch db schema, Has typ schema ('Typedef type_)) => QualifiedAlias sch typ -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commentOnView :: forall (sch :: Symbol) (vie :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (view :: RowType). (KnownSymbol sch, KnownSymbol vie, Has sch db schema, Has vie schema ('View view)) => QualifiedAlias sch vie -> Text -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: consRow :: forall (head :: NullType) h t z (col :: Symbol) (tail :: RowType). FromValue head h => (h -> t -> z) -> Alias col -> DecodeRow tail t -> DecodeRow ((col ::: head) : tail) z
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceProcedure :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (pro :: Symbol) (args :: [NullType]). (Has sch db schema, KnownSymbol pro, SListI args) => QualifiedAlias sch pro -> NP (TypeExpression db) args -> ProcedureDefinition db args -> Definition db (Alter sch (CreateOrReplace pro ('Procedure args) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createProcedure :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (pro :: Symbol) (args :: [NullType]). (Has sch db schema, KnownSymbol pro, SListI args) => QualifiedAlias sch pro -> NP (TypeExpression db) args -> ProcedureDefinition db args -> Definition db (Alter sch (Create pro ('Procedure args) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Aliased (expression :: k -> Type) (aliased :: (Symbol, k))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data ConflictTarget (table :: ([(Symbol, kind)], k))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data IsoQ (c :: k -> k -> Type) (x :: k) (y :: k)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data LockStrength
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data LockingClause (from :: [(Symbol, kind)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Migration (def :: k -> k1 -> Type) (db0 :: k) (db1 :: k1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data NP (a :: k -> Type) (b :: [k])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Optional (expr :: k -> Type) (ty :: (Optionality, k))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Path (p :: k -> k -> Type) (x :: k) (y :: k)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data ReferentialAction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: data Waiting
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropProcedure :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (pro :: Symbol). (Has sch db schema, KnownSymbol pro) => QualifiedAlias sch pro -> Definition db (Alter sch (DropSchemum pro 'Procedure schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropProcedureIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (pro :: Symbol). (Has sch db schema, KnownSymbol pro) => QualifiedAlias sch pro -> Definition db (Alter sch (DropSchemumIfExists pro 'Procedure schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: enumValue :: forall (labels :: [Symbol]) y. (All KnownSymbol labels, PG y ~ 'PGenum labels) => NP (K y :: Symbol -> Type) labels -> StateT ByteString (Except Text) y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: index1 :: forall (i :: Nat) (n :: Nat) (ty :: NullType). (1 <= i, i <= n, KnownNat i) => 'NotNull ('PGfixarray '[n] ty) --> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: index2 :: forall (i :: Nat) (j :: Nat) (m :: Nat) (n :: Nat) (ty :: NullType). (1 <= i, i <= m, KnownNat i, 1 <= j, j <= n, KnownNat j) => 'NotNull ('PGfixarray '[m, n] ty) --> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: languageSqlManipulation :: forall (db :: SchemasType) (args :: [NullType]). [Manipulation ('[] :: [(Symbol, RowType)]) db args ('[] :: [(Symbol, NullType)])] -> ProcedureDefinition db args
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: liftResult :: MonadIO io => (Result -> IO x) -> Result y -> io x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lockRows :: forall (from :: [(Symbol, RowType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). LockingClause from -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype FunctionDefinition (db :: k) (args :: k1) (ret :: k2)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype GroupByClause (grp :: k) (from :: k1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype IndexMethod (ty :: k)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype Indexed (t :: k -> k1 -> k2 -> k3 -> Type) (m :: k2) (r :: k3) (i :: k) (j :: k1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype K a (b :: k)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype OnDeleteClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype OnUpdateClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: newtype ProcedureDefinition (db :: k) (args :: k1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern All :: forall lat with db params from (x :: NullType). Expression 'Ungrouped lat with db params from x -> AggregateArg '[x] lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Alls :: NP (Expression 'Ungrouped lat with db params from) xs -> AggregateArg xs lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern CheckViolation :: ByteString -> SquealException
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Distinct :: forall lat with db params from (x :: NullType). Expression 'Ungrouped lat with db params from x -> AggregateArg '[x] lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Distincts :: NP (Expression 'Ungrouped lat with db params from) xs -> AggregateArg xs lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern NotDefault :: ty -> Optional I ('Def :=> ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern SerializationFailure :: ByteString -> SquealException
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern UniqueViolation :: ByteString -> SquealException
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Window :: forall grp lat with db params from (arg :: NullType). Expression grp lat with db params from arg -> WindowArg grp '[arg] lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Windows :: NP (Expression grp lat with db params from) args -> WindowArg grp args lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Has (alias :: Symbol) (fields :: [(Symbol, kind)]) (field :: kind) = HasErr fields alias fields field
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Operator (x1 :: NullType) (x2 :: NullType) (y :: NullType) = forall (db :: SchemasType). () => OperatorDB db x1 x2 y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeCall :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (x :: NullType). ByteString -> Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)]) x -> Manipulation with db params ('[] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeCallN :: forall (xs :: [NullType]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). SListI xs => ByteString -> NP (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)])) xs -> Manipulation with db params ('[] :: [(Symbol, NullType)])
- Database.PostgreSQL.Tx.Squeal: ephemerally :: TransactionMode -> Connection -> TxM a -> IO a
+ Database.PostgreSQL.Tx.Squeal: ephemerally :: SquealEnv r => TransactionMode -> r -> TxM r a -> IO a
- Database.PostgreSQL.Tx.Squeal: ephemerally_ :: Connection -> TxM a -> IO a
+ Database.PostgreSQL.Tx.Squeal: ephemerally_ :: SquealEnv r => r -> TxM r a -> IO a
- Database.PostgreSQL.Tx.Squeal: execute :: Statement db () y -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: execute :: Statement db () y -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: executeParams :: Statement db x y -> x -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: executeParams :: Statement db x y -> x -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: executeParams_ :: Statement db x () -> x -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: executeParams_ :: Statement db x () -> x -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: executePrepared :: Traversable list => Statement db x y -> list x -> SquealM db db (list (Result y))
+ Database.PostgreSQL.Tx.Squeal: executePrepared :: Traversable list => Statement db x y -> list x -> SquealTxM db (list (Result y))
- Database.PostgreSQL.Tx.Squeal: executePrepared_ :: Foldable list => Statement db x () -> list x -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: executePrepared_ :: Foldable list => Statement db x () -> list x -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: execute_ :: Statement db () () -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: execute_ :: Statement db () () -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: firstRow :: Result y -> SquealM db db (Maybe y)
+ Database.PostgreSQL.Tx.Squeal: firstRow :: Result y -> SquealTxM db (Maybe y)
- Database.PostgreSQL.Tx.Squeal: forPrepared :: (GenericParams db params x xs, Traversable list, IsRecord y ys, AllZip FromField row ys) => list x -> Manipulation '[] db params row -> SquealM db db (list (Result y))
+ Database.PostgreSQL.Tx.Squeal: forPrepared :: (GenericParams db params x xs, Traversable list, IsRecord y ys, AllZip FromField row ys) => list x -> Manipulation '[] db params row -> SquealTxM db (list (Result y))
- Database.PostgreSQL.Tx.Squeal: forPrepared_ :: (GenericParams db params x xs, Foldable list) => list x -> Manipulation '[] db params '[] -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: forPrepared_ :: (GenericParams db params x xs, Foldable list) => list x -> Manipulation '[] db params '[] -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: getRow :: Row -> Result y -> SquealM db db y
+ Database.PostgreSQL.Tx.Squeal: getRow :: Row -> Result y -> SquealTxM db y
- Database.PostgreSQL.Tx.Squeal: getRows :: Result y -> SquealM db db [y]
+ Database.PostgreSQL.Tx.Squeal: getRows :: Result y -> SquealTxM db [y]
- Database.PostgreSQL.Tx.Squeal: manipulate :: GenericRow row y ys => Manipulation '[] db '[] row -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: manipulate :: GenericRow row y ys => Manipulation '[] db '[] row -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: manipulateParams :: (GenericParams db params x xs, GenericRow row y ys) => Manipulation '[] db params row -> x -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: manipulateParams :: (GenericParams db params x xs, GenericRow row y ys) => Manipulation '[] db params row -> x -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: manipulateParams_ :: GenericParams db params x xs => Manipulation '[] db params '[] -> x -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: manipulateParams_ :: GenericParams db params x xs => Manipulation '[] db params '[] -> x -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: manipulate_ :: Manipulation '[] db '[] '[] -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: manipulate_ :: Manipulation '[] db '[] '[] -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: nextRow :: Row -> Result y -> Row -> SquealM db db (Maybe (Row, y))
+ Database.PostgreSQL.Tx.Squeal: nextRow :: Row -> Result y -> Row -> SquealTxM db (Maybe (Row, y))
- Database.PostgreSQL.Tx.Squeal: nfields :: Result y -> SquealM db db Column
+ Database.PostgreSQL.Tx.Squeal: nfields :: Result y -> SquealTxM db Column
- Database.PostgreSQL.Tx.Squeal: ntuples :: Result y -> SquealM db db Row
+ Database.PostgreSQL.Tx.Squeal: ntuples :: Result y -> SquealTxM db Row
- Database.PostgreSQL.Tx.Squeal: okResult :: K Result row -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: okResult :: Result y -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal: resultErrorCode :: Result y -> SquealM db db (Maybe ByteString)
+ Database.PostgreSQL.Tx.Squeal: resultErrorCode :: Result y -> SquealTxM db (Maybe ByteString)
- Database.PostgreSQL.Tx.Squeal: resultErrorMessage :: Result y -> SquealM db db (Maybe ByteString)
+ Database.PostgreSQL.Tx.Squeal: resultErrorMessage :: Result y -> SquealTxM db (Maybe ByteString)
- Database.PostgreSQL.Tx.Squeal: resultStatus :: Result y -> SquealM db db ExecStatus
+ Database.PostgreSQL.Tx.Squeal: resultStatus :: Result y -> SquealTxM db ExecStatus
- Database.PostgreSQL.Tx.Squeal: runQuery :: (IsRecord y ys, AllZip FromField row ys) => Query '[] '[] db '[] row -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: runQuery :: (IsRecord y ys, AllZip FromField row ys) => Query '[] '[] db '[] row -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: runQueryParams :: (GenericParams db params x xs, IsRecord y ys, AllZip FromField row ys) => Query '[] '[] db params row -> x -> SquealM db db (Result y)
+ Database.PostgreSQL.Tx.Squeal: runQueryParams :: (GenericParams db params x xs, IsRecord y ys, AllZip FromField row ys) => Query '[] '[] db params row -> x -> SquealTxM db (Result y)
- Database.PostgreSQL.Tx.Squeal: transactionally :: TransactionMode -> Connection -> TxM a -> IO a
+ Database.PostgreSQL.Tx.Squeal: transactionally :: SquealEnv r => TransactionMode -> r -> TxM r a -> IO a
- Database.PostgreSQL.Tx.Squeal: transactionallyRetry :: TransactionMode -> Connection -> TxM a -> IO a
+ Database.PostgreSQL.Tx.Squeal: transactionallyRetry :: (SquealEnv r, Exception e) => TransactionMode -> (e -> Bool) -> r -> TxM r a -> IO a
- Database.PostgreSQL.Tx.Squeal: transactionally_ :: Connection -> TxM a -> IO a
+ Database.PostgreSQL.Tx.Squeal: transactionally_ :: SquealEnv r => r -> TxM r a -> IO a
- Database.PostgreSQL.Tx.Squeal: traversePrepared :: (GenericParams db params x xs, Traversable list, IsRecord y ys, AllZip FromField row ys) => Manipulation '[] db params row -> list x -> SquealM db db (list (Result y))
+ Database.PostgreSQL.Tx.Squeal: traversePrepared :: (GenericParams db params x xs, Traversable list, IsRecord y ys, AllZip FromField row ys) => Manipulation '[] db params row -> list x -> SquealTxM db (list (Result y))
- Database.PostgreSQL.Tx.Squeal: traversePrepared_ :: (GenericParams db params x xs, Foldable list) => Manipulation '[] db params '[] -> list x -> SquealM db db ()
+ Database.PostgreSQL.Tx.Squeal: traversePrepared_ :: (GenericParams db params x xs, Foldable list) => Manipulation '[] db params '[] -> list x -> SquealTxM db ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!+) :: TimeOp time diff => Operator (null time) (null diff) (null time)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!+) :: forall (null :: k -> NullType). TimeOp time diff => Operator (null time) (null diff) (null time)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!-!) :: TimeOp time diff => Operator (null time) (null time) (null diff)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!-!) :: forall (null :: k -> NullType). TimeOp time diff => Operator (null time) (null time) (null diff)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!-) :: TimeOp time diff => Operator (null time) (null diff) (null time)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (!-) :: forall (null :: k -> NullType). TimeOp time diff => Operator (null time) (null diff) (null time)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (#-.) :: () => Operator (null PGjsonb) (null (PGvararray (NotNull PGtext))) (null PGjsonb)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (#-.) :: forall (null :: PGType -> NullType). Operator (null 'PGjsonb) (null ('PGvararray ('NotNull 'PGtext))) (null 'PGjsonb)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&) :: () => a -> (a -> b) -> b
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&) :: a -> (a -> b) -> b
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&<) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&<) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&>) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (&>) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (*.) :: (ToParam db ty0 x0, ToParam db ty1 x1) => (x -> x0) -> (x -> x1) -> EncodeParams db (ty0 : (ty1 : ([] :: [NullType]))) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (*.) :: forall (db :: SchemasType) x x0 (ty0 :: NullType) x1 (ty1 :: NullType). (ToParam db ty0 x0, ToParam db ty1 x1) => (x -> x0) -> (x -> x1) -> EncodeParams db '[ty0, ty1] x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (*:) :: () => f x -> f y -> NP f (x : (y : ([] :: [k])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (*:) :: forall k f (x :: k) (y :: k). f x -> f y -> NP f '[x, y]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (+!) :: TimeOp time diff => Operator (null diff) (null time) (null time)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (+!) :: forall (null :: k -> NullType). TimeOp time diff => Operator (null diff) (null time) (null time)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (-|-) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (-|-) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.!) :: () => null PGtsquery --> null PGtsquery
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.!) :: forall (null :: PGType -> NullType). null 'PGtsquery --> null 'PGtsquery
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.#>) :: In json PGJsonType => Operator (null json) (null (PGvararray (NotNull PGtext))) (Null json)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.#>) :: forall (json :: PGType) (null :: PGType -> NullType). In json PGJsonType => Operator (null json) (null ('PGvararray ('NotNull 'PGtext))) ('Null json)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.#>>) :: In json PGJsonType => Operator (null json) (null (PGvararray (NotNull PGtext))) (Null PGtext)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.#>>) :: forall (json :: PGType) (null :: PGType -> NullType). In json PGJsonType => Operator (null json) (null ('PGvararray ('NotNull 'PGtext))) ('Null 'PGtext)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.&&) :: () => Operator (null PGbool) (null PGbool) (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.&&) :: forall (null :: PGType -> NullType). Operator (null 'PGbool) (null 'PGbool) (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.&) :: () => Operator (null PGtsquery) (null PGtsquery) (null PGtsquery)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.&) :: forall (null :: PGType -> NullType). Operator (null 'PGtsquery) (null 'PGtsquery) (null 'PGtsquery)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.*) :: ToParam db ty x0 => (x -> x0) -> EncodeParams db tys x -> EncodeParams db (ty : tys) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.*) :: forall (db :: SchemasType) x0 (ty :: NullType) x (tys :: [NullType]). ToParam db ty x0 => (x -> x0) -> EncodeParams db tys x -> EncodeParams db (ty : tys) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.-.) :: In key (PGtext : (PGvararray (NotNull PGtext) : (PGint4 : (PGint2 : ([] :: [PGType]))))) => Operator (null PGjsonb) (null key) (null PGjsonb)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.-.) :: forall (key :: PGType) (null :: PGType -> NullType). In key '[ 'PGtext, 'PGvararray ('NotNull 'PGtext), 'PGint4, 'PGint2] => Operator (null 'PGjsonb) (null key) (null 'PGjsonb)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.->) :: (In json PGJsonType, In key PGJsonKey) => Operator (null json) (null key) (Null json)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.->) :: forall (json :: PGType) (key :: PGType) (null :: PGType -> NullType). (In json PGJsonType, In key PGJsonKey) => Operator (null json) (null key) ('Null json)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.->>) :: (In json PGJsonType, In key PGJsonKey) => Operator (null json) (null key) (Null PGtext)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.->>) :: forall (json :: PGType) (key :: PGType) (null :: PGType -> NullType). (In json PGJsonType, In key PGJsonKey) => Operator (null json) (null key) ('Null 'PGtext)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (./=) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (./=) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<=) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<=) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<@) :: () => Operator (NotNull ty) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.<@) :: forall (ty :: PGType) (null :: PGType -> NullType). Operator ('NotNull ty) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.==) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.==) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.>) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.>) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.>=) :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.>=) :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?&) :: () => Operator (null PGjsonb) (null (PGvararray (NotNull PGtext))) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?&) :: forall (null :: PGType -> NullType). Operator (null 'PGjsonb) (null ('PGvararray ('NotNull 'PGtext))) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?) :: () => Operator (null PGjsonb) (null PGtext) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?) :: forall (null :: PGType -> NullType). Operator (null 'PGjsonb) (null 'PGtext) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?|) :: () => Operator (null PGjsonb) (null (PGvararray (NotNull PGtext))) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.?|) :: forall (null :: PGType -> NullType). Operator (null 'PGjsonb) (null ('PGvararray ('NotNull 'PGtext))) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.|) :: () => Operator (null PGtsquery) (null PGtsquery) (null PGtsquery)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.|) :: forall (null :: PGType -> NullType). Operator (null 'PGtsquery) (null 'PGtsquery) (null 'PGtsquery)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.||) :: () => Operator (null PGbool) (null PGbool) (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (.||) :: forall (null :: PGType -> NullType). Operator (null 'PGbool) (null 'PGbool) (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<->) :: () => Operator (null PGtsquery) (null PGtsquery) (null PGtsquery)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<->) :: forall (null :: PGType -> NullType). Operator (null 'PGtsquery) (null 'PGtsquery) (null 'PGtsquery)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<..<) :: () => x -> x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<..<) :: x -> x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<..<=) :: () => x -> x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<..<=) :: x -> x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<<@) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<<@) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<=..<) :: () => x -> x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<=..<) :: x -> x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<=..<=) :: () => x -> x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<=..<=) :: x -> x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<@) :: PGSubset ty => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (<@) :: forall (null0 :: k -> NullType) (null1 :: k -> NullType). PGSubset ty => Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (>>>) :: Category cat => cat a b -> cat b c -> cat a c
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (>>>) :: forall k cat (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@&&) :: PGIntersect ty => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@&&) :: forall (null0 :: k -> NullType) (null1 :: k -> NullType). PGIntersect ty => Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@*) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (null (PGrange ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@*) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@+) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (null (PGrange ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@+) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@-) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (null (PGrange ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@-) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) (null ('PGrange ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>) :: PGSubset ty => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>) :: forall (null0 :: k -> NullType) (null1 :: k -> NullType). PGSubset ty => Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>.) :: () => Operator (null (PGrange ty)) (NotNull ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>.) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) ('NotNull ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>>) :: () => Operator (null (PGrange ty)) (null (PGrange ty)) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@>>) :: forall (null :: PGType -> NullType) (ty :: PGType). Operator (null ('PGrange ty)) (null ('PGrange ty)) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@@) :: () => Operator (null PGtsvector) (null PGtsquery) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: (@@) :: forall (null :: PGType -> NullType). Operator (null 'PGtsvector) (null 'PGtsquery) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: AggregateAll :: NP (Expression Ungrouped lat with db params from) xs -> [SortExpression Ungrouped lat with db params from] -> [Condition Ungrouped lat with db params from] -> AggregateArg
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: AggregateAll :: NP (Expression 'Ungrouped lat with db params from) xs -> [SortExpression 'Ungrouped lat with db params from] -> [Condition 'Ungrouped lat with db params from] -> AggregateArg (xs :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: AggregateDistinct :: NP (Expression Ungrouped lat with db params from) xs -> [SortExpression Ungrouped lat with db params from] -> [Condition Ungrouped lat with db params from] -> AggregateArg
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: AggregateDistinct :: NP (Expression 'Ungrouped lat with db params from) xs -> [SortExpression 'Ungrouped lat with db params from] -> [Condition 'Ungrouped lat with db params from] -> AggregateArg (xs :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Alias :: Alias
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Alias :: Alias (alias :: Symbol)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: DecodeRow :: ReaderT (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row) (Except Text) y -> DecodeRow y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: DecodeRow :: ReaderT (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row) (Except Text) y -> DecodeRow (row :: RowType) y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: EncodeParams :: (x -> ReaderT (K Connection db) IO (NP (K (Maybe Encoding) :: NullType -> Type) tys)) -> EncodeParams x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: EncodeParams :: (x -> ReaderT (K Connection db) IO (NP (K (Maybe Encoding) :: NullType -> Type) tys)) -> EncodeParams (db :: SchemasType) (tys :: [NullType]) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ExceptT :: m (Either e a) -> ExceptT e a
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ExceptT :: m (Either e a) -> ExceptT e (m :: Type -> Type) a
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ForeignKey :: [Symbol] -> Symbol -> [Symbol] -> TableConstraint
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ForeignKey :: [Symbol] -> Symbol -> Symbol -> [Symbol] -> TableConstraint
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Indexed :: t i j m r -> Indexed
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Indexed :: t i j m r -> Indexed (t :: k -> k1 -> k2 -> k3 -> Type) (m :: k2) (r :: k3) (i :: k) (j :: k1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: IsoQ :: c x y -> c y x -> IsoQ
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: IsoQ :: c x y -> c y x -> IsoQ (c :: k -> k -> Type) (x :: k) (y :: k)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: K :: a -> K a
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: K :: a -> K a (b :: k)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Migration :: Text -> def db0 db1 -> Migration
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Migration :: Text -> def db0 db1 -> Migration (def :: k -> k1 -> Type) (db0 :: k) (db1 :: k1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: PGlabel :: PGlabel
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: PGlabel :: PGlabel (label :: Symbol)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: PQ :: (K Connection db0 -> m (K x db1)) -> PQ x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: PQ :: (K Connection db0 -> m (K x db1)) -> PQ (db0 :: SchemasType) (db1 :: SchemasType) (m :: Type -> Type) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: QualifiedAlias :: QualifiedAlias
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: QualifiedAlias :: QualifiedAlias (qualifier :: Symbol) (alias :: Symbol)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Returning :: Selection Ungrouped ([] :: [(Symbol, RowType)]) with db params from row -> ReturningClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: Returning :: Selection 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from row -> ReturningClause (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: StateT :: (s -> m (a, s)) -> StateT s a
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: StateT :: (s -> m (a, s)) -> StateT s (m :: Type -> Type) a
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: TableExpression :: FromClause lat with db params from -> [Condition Ungrouped lat with db params from] -> GroupByClause grp from -> HavingClause grp lat with db params from -> [SortExpression grp lat with db params from] -> [Word64] -> [Word64] -> TableExpression
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: TableExpression :: FromClause lat with db params from -> [Condition 'Ungrouped lat with db params from] -> GroupByClause grp from -> HavingClause grp lat with db params from -> [SortExpression grp lat with db params from] -> [Word64] -> [Word64] -> [LockingClause from] -> TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeAlterColumn :: ByteString -> AlterColumn
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeAlterColumn :: ByteString -> AlterColumn (db :: SchemasType) (ty0 :: ColumnType) (ty1 :: ColumnType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeAlterTable :: ByteString -> AlterTable
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeAlterTable :: ByteString -> AlterTable (sch :: Symbol) (tab :: Symbol) (db :: SchemasType) (table :: TableType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeColumnTypeExpression :: ByteString -> ColumnTypeExpression
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeColumnTypeExpression :: ByteString -> ColumnTypeExpression (db :: SchemasType) (ty :: ColumnType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeDefinition :: ByteString -> Definition
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeDefinition :: ByteString -> Definition (db0 :: SchemasType) (db1 :: SchemasType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeExpression :: ByteString -> Expression
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeExpression :: ByteString -> Expression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeFromClause :: ByteString -> FromClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeFromClause :: ByteString -> FromClause (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeFunctionDefinition :: ByteString -> FunctionDefinition
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeFunctionDefinition :: ByteString -> FunctionDefinition (db :: k) (args :: k1) (ret :: k2)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeGroupByClause :: ByteString -> GroupByClause
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeGroupByClause :: ByteString -> GroupByClause (grp :: k) (from :: k1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeIndexMethod :: ByteString -> IndexMethod
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeIndexMethod :: ByteString -> IndexMethod (ty :: k)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeManipulation :: ByteString -> Manipulation
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeManipulation :: ByteString -> Manipulation (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeQuery :: ByteString -> Query
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeQuery :: ByteString -> Query (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (row :: RowType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeTableConstraintExpression :: ByteString -> TableConstraintExpression
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeTableConstraintExpression :: ByteString -> TableConstraintExpression (sch :: Symbol) (tab :: Symbol) (db :: SchemasType) (constraint :: TableConstraint)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeTypeExpression :: ByteString -> TypeExpression
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeTypeExpression :: ByteString -> TypeExpression (db :: SchemasType) (ty :: NullType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeWindowFunction :: ByteString -> WindowFunction
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: UnsafeWindowFunction :: ByteString -> WindowFunction (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: WindowArg :: NP (Expression grp lat with db params from) args -> [Condition grp lat with db params from] -> WindowArg
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: WindowArg :: NP (Expression grp lat with db params from) args -> [Condition grp lat with db params from] -> WindowArg (grp :: Grouping) (args :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [:*] :: forall k (a :: k -> Type) (b :: [k]) (x :: k) (xs :: [k]). () => a x -> NP a xs -> NP a (x : xs)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [:*] :: forall k (a :: k -> Type) (x :: k) (xs :: [k]). a x -> NP a xs -> NP a (x : xs)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [:>>] :: forall k (p :: k -> k -> Type) (x :: k) (y :: k) (y1 :: k). () => p x y1 -> Path p y1 y -> Path p x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [:>>] :: forall k (p :: k -> k -> Type) (x :: k) (y1 :: k) (y :: k). p x y1 -> Path p y1 y -> Path p x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Also] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType) (right :: RowType) (left :: RowType). () => Selection grp lat with db params from right -> Selection grp lat with db params from left -> Selection grp lat with db params from (Join left right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Also] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (right :: RowType) (left :: RowType). Selection grp lat with db params from right -> Selection grp lat with db params from left -> Selection grp lat with db params from (Join left right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [As] :: forall k (expression :: k -> Type) (aliased :: (Symbol, k)) (alias :: Symbol) (ty :: k). KnownSymbol alias => expression ty -> Alias alias -> Aliased expression ((,) alias ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [As] :: forall k (alias :: Symbol) (expression :: k -> Type) (ty :: k). KnownSymbol alias => expression ty -> Alias alias -> Aliased expression '(alias, ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [AscNullsFirst] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (Null ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [AscNullsFirst] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('Null ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [AscNullsLast] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (Null ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [AscNullsLast] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('Null ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Asc] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (NotNull ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Asc] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('NotNull ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [By1] :: forall (from :: FromType) (by :: (Symbol, Symbol)) (table :: Symbol) (columns :: [(Symbol, NullType)]) (column :: Symbol) (ty :: NullType). (HasUnique table from columns, Has column columns ty) => Alias column -> By from ((,) table column)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [By1] :: forall (table :: Symbol) (from :: FromType) (columns :: [(Symbol, NullType)]) (column :: Symbol) (ty :: NullType). (HasUnique table from columns, Has column columns ty) => Alias column -> By from '(table, column)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [By2] :: forall (from :: FromType) (by :: (Symbol, Symbol)) (table :: Symbol) (columns :: [(Symbol, NullType)]) (column :: Symbol) (ty :: NullType). (Has table from columns, Has column columns ty) => Alias table -> Alias column -> By from ((,) table column)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [By2] :: forall (table :: Symbol) (from :: FromType) (columns :: [(Symbol, NullType)]) (column :: Symbol) (ty :: NullType). (Has table from columns, Has column columns ty) => Alias table -> Alias column -> By from '(table, column)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [CommonTableExpression] :: forall (statement :: FromType -> SchemasType -> [NullType] -> RowType -> Type) (db :: SchemasType) (params :: [NullType]) (with0 :: FromType) (with1 :: FromType) (cte :: Symbol) (common :: RowType). () => Aliased (statement with0 db params) (cte ::: common) -> CommonTableExpression statement db params with0 ((cte ::: common) : with0)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [CommonTableExpression] :: forall (statement :: FromType -> SchemasType -> [NullType] -> RowType -> Type) (with0 :: FromType) (db :: SchemasType) (params :: [NullType]) (cte :: Symbol) (common :: RowType). Aliased (statement with0 db params) (cte ::: common) -> CommonTableExpression statement db params with0 ((cte ::: common) : with0)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Default] :: forall k (expr :: k -> Type) (ty :: (Optionality, k)) (ty1 :: k). () => Optional expr ((,) Def ty1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Default] :: forall k (expr :: k -> Type) (ty1 :: k). Optional expr '( 'Def, ty1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DescNullsFirst] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (Null ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DescNullsFirst] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('Null ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DescNullsLast] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (Null ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DescNullsLast] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('Null ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Desc] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). () => Expression grp lat with db params from (NotNull ty) -> SortExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Desc] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('NotNull ty) -> SortExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DoNothing] :: forall (tab :: Symbol) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (table :: TableType). () => ConflictAction tab with db params table
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DoNothing] :: forall (tab :: Symbol) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (table :: TableType). ConflictAction tab with db params table
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DoUpdate] :: forall (tab :: Symbol) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (table :: TableType) (row :: RowType) (from :: [(Symbol, RowType)]) (updates :: [(Symbol, (Optionality, NullType))]). (row ~ TableToRow table, from ~ ((tab ::: row) : (("excluded" ::: row) : ([] :: [(Symbol, RowType)]))), Updatable table updates) => NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) with db params from))) updates -> [Condition Ungrouped ([] :: [(Symbol, RowType)]) with db params from] -> ConflictAction tab with db params table
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DoUpdate] :: forall (row :: RowType) (table :: TableType) (from :: [(Symbol, RowType)]) (tab :: Symbol) (updates :: [(Symbol, (Optionality, NullType))]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). (row ~ TableToRow table, from ~ '[tab ::: row, "excluded" ::: row], Updatable table updates) => NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from))) updates -> [Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from] -> ConflictAction tab with db params table
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Done] :: forall k (p :: k -> k -> Type) (x :: k) (y :: k). () => Path p x x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Done] :: forall k (p :: k -> k -> Type) (x :: k). Path p x x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DotStar] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType) (tab :: Symbol). Has tab from row => Alias tab -> Selection Ungrouped lat with db params from row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [DotStar] :: forall (tab :: Symbol) (from :: [(Symbol, RowType)]) (row :: RowType) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). Has tab from row => Alias tab -> Selection 'Ungrouped lat with db params from row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Having] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (bys :: [(Symbol, Symbol)]). () => [Condition (Grouped bys) lat with db params from] -> HavingClause (Grouped bys) lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Having] :: forall (bys :: [(Symbol, Symbol)]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). [Condition ('Grouped bys) lat with db params from] -> HavingClause ('Grouped bys) lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinFunctionN] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType) (args :: [NullType]) (set :: (Symbol, RowType)). SListI args => SetFunN db args set -> NP (Expression Ungrouped lat with db params left) args -> JoinItem lat with db params left (set : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinFunctionN] :: forall (args :: [NullType]) (db :: SchemasType) (set :: (Symbol, RowType)) (lat :: FromType) (with :: FromType) (params :: [NullType]) (left :: FromType). SListI args => SetFunN db args set -> NP (Expression 'Ungrouped lat with db params left) args -> JoinItem lat with db params left '[set]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinFunction] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType) (arg :: NullType) (set :: (Symbol, RowType)). () => SetFun db arg set -> Expression Ungrouped lat with db params left arg -> JoinItem lat with db params left (set : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinFunction] :: forall (db :: SchemasType) (arg :: NullType) (set :: (Symbol, RowType)) (lat :: FromType) (with :: FromType) (params :: [NullType]) (left :: FromType). SetFun db arg set -> Expression 'Ungrouped lat with db params left arg -> JoinItem lat with db params left '[set]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinLateral] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType) (query :: (Symbol, RowType)). () => Aliased (Query (Join lat left) with db params) query -> JoinItem lat with db params left (query : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [JoinLateral] :: forall (lat :: FromType) (left :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> JoinItem lat with db params left '[query]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Join] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). () => FromClause lat with db params right -> JoinItem lat with db params left right
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Join] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: FromType). FromClause lat with db params right -> JoinItem lat with db params left right
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [List] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType). SListI row => NP (Aliased (Expression grp lat with db params from)) row -> Selection grp lat with db params from row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [List] :: forall (row :: RowType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). SListI row => NP (Aliased (Expression grp lat with db params from)) row -> Selection grp lat with db params from row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Manipulation] :: forall (db :: SchemasType) x y (params :: [NullType]) (row :: [(Symbol, NullType)]). (All (OidOfNull db) params, SListI row) => EncodeParams db params x -> DecodeRow row y -> Manipulation ([] :: [(Symbol, RowType)]) db params row -> Statement db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Manipulation] :: forall (db :: SchemasType) (params :: [NullType]) (row :: [(Symbol, NullType)]) x y. (All (OidOfNull db) params, SListI row) => EncodeParams db params x -> DecodeRow row y -> Manipulation ('[] :: [(Symbol, RowType)]) db params row -> Statement db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Nil] :: forall k (a :: k -> Type) (b :: [k]). () => NP a ([] :: [k])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Nil] :: forall k (a :: k -> Type). NP a ('[] :: [k])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [NoHaving] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). () => HavingClause Ungrouped lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [NoHaving] :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). HavingClause 'Ungrouped lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [NoUsing] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). () => UsingClause with db params ([] :: [(Symbol, RowType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [NoUsing] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]). UsingClause with db params ('[] :: [(Symbol, RowType)])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [OnConstraint] :: forall kind k (table :: ([(Symbol, kind)], k)) (con :: Symbol) (constraints :: [(Symbol, kind)]) (constraint :: kind) (columns :: k). Has con constraints constraint => Alias con -> ConflictTarget ((,) constraints columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [OnConstraint] :: forall kind k (con :: Symbol) (constraints :: [(Symbol, kind)]) (constraint :: kind) (columns :: k). Has con constraints constraint => Alias con -> ConflictTarget '(constraints, columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Over] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType). SListI row => NP (Aliased (WindowFunction grp lat with db params from)) row -> WindowDefinition grp lat with db params from -> Selection grp lat with db params from row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Over] :: forall (row :: RowType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). SListI row => NP (Aliased (WindowFunction grp lat with db params from)) row -> WindowDefinition grp lat with db params from -> Selection grp lat with db params from row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Query] :: forall (db :: SchemasType) x y (params :: [NullType]) (row :: [(Symbol, NullType)]). (All (OidOfNull db) params, SListI row) => EncodeParams db params x -> DecodeRow row y -> Query ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db params row -> Statement db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Query] :: forall (db :: SchemasType) (params :: [NullType]) (row :: [(Symbol, NullType)]) x y. (All (OidOfNull db) params, SListI row) => EncodeParams db params x -> DecodeRow row y -> Query ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db params row -> Statement db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Result] :: forall y (row :: [(Symbol, NullType)]). SListI row => DecodeRow row y -> Result -> Result y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Result] :: forall (row :: [(Symbol, NullType)]) y. SListI row => DecodeRow row y -> Result -> Result y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Select] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: [(Symbol, (Optionality, NullType))]) (grp :: Grouping) (from :: FromType). SListI columns => NP (Aliased (Optional (Expression grp ([] :: [(Symbol, RowType)]) with db params from))) columns -> TableExpression grp ([] :: [(Symbol, RowType)]) with db params from -> QueryClause with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Select] :: forall (columns :: [(Symbol, (Optionality, NullType))]) (grp :: Grouping) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). SListI columns => NP (Aliased (Optional (Expression grp ('[] :: [(Symbol, RowType)]) with db params from))) columns -> TableExpression grp ('[] :: [(Symbol, RowType)]) with db params from -> QueryClause with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Set] :: forall k (expr :: k -> Type) (ty :: (Optionality, k)) (ty1 :: k) (def :: Optionality). () => expr ty1 -> Optional expr ((,) def ty1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Set] :: forall k (expr :: k -> Type) (ty1 :: k) (def :: Optionality). expr ty1 -> Optional expr '(def, ty1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Star] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]) (row :: RowType) (tab :: Symbol). HasUnique tab from row => Selection Ungrouped lat with db params from row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Star] :: forall (tab :: Symbol) (from :: [(Symbol, RowType)]) (row :: RowType) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). HasUnique tab from row => Selection 'Ungrouped lat with db params from row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Subquery] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: [(Symbol, (Optionality, NullType))]) (row :: RowType). ColumnsToRow columns ~ row => Query ([] :: [(Symbol, RowType)]) with db params row -> QueryClause with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Subquery] :: forall (columns :: [(Symbol, (Optionality, NullType))]) (row :: RowType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). ColumnsToRow columns ~ row => Query ('[] :: [(Symbol, RowType)]) with db params row -> QueryClause with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Using] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). () => FromClause ([] :: [(Symbol, RowType)]) with db params from -> UsingClause with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Using] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). FromClause ('[] :: [(Symbol, RowType)]) with db params from -> UsingClause with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Values] :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: [(Symbol, (Optionality, NullType))]). SListI columns => NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) with db params ([] :: [(Symbol, RowType)])))) columns -> [NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) with db params ([] :: [(Symbol, RowType)])))) columns] -> QueryClause with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [Values] :: forall (columns :: [(Symbol, (Optionality, NullType))]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). SListI columns => NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from))) columns -> [NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from))) columns] -> QueryClause with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [WindowDefinition] :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (bys :: [NullType]). SListI bys => NP (Expression grp lat with db params from) bys -> [SortExpression grp lat with db params from] -> WindowDefinition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [WindowDefinition] :: forall (bys :: [NullType]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). SListI bys => NP (Expression grp lat with db params from) bys -> [SortExpression grp lat with db params from] -> WindowDefinition grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateArgs] :: AggregateArg -> NP (Expression Ungrouped lat with db params from) xs
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateArgs] :: AggregateArg (xs :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> NP (Expression 'Ungrouped lat with db params from) xs
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateFilter] :: AggregateArg -> [Condition Ungrouped lat with db params from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateFilter] :: AggregateArg (xs :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [Condition 'Ungrouped lat with db params from]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateOrder] :: AggregateArg -> [SortExpression Ungrouped lat with db params from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [aggregateOrder] :: AggregateArg (xs :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [SortExpression 'Ungrouped lat with db params from]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [down] :: IsoQ -> c y x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [down] :: IsoQ (c :: k -> k -> Type) (x :: k) (y :: k) -> c y x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [fromClause] :: TableExpression -> FromClause lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [fromClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> FromClause lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [groupByClause] :: TableExpression -> GroupByClause grp from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [groupByClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> GroupByClause grp from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [havingClause] :: TableExpression -> HavingClause grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [havingClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> HavingClause grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [limitClause] :: TableExpression -> [Word64]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [limitClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [Word64]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [offsetClause] :: TableExpression -> [Word64]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [offsetClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [Word64]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [orderByClause] :: TableExpression -> [SortExpression grp lat with db params from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [orderByClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [SortExpression grp lat with db params from]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderAlterColumn] :: AlterColumn -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderAlterColumn] :: AlterColumn (db :: SchemasType) (ty0 :: ColumnType) (ty1 :: ColumnType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderAlterTable] :: AlterTable -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderAlterTable] :: AlterTable (sch :: Symbol) (tab :: Symbol) (db :: SchemasType) (table :: TableType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderColumnTypeExpression] :: ColumnTypeExpression -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderColumnTypeExpression] :: ColumnTypeExpression (db :: SchemasType) (ty :: ColumnType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderDefinition] :: Definition -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderDefinition] :: Definition (db0 :: SchemasType) (db1 :: SchemasType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderExpression] :: Expression -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderExpression] :: Expression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderFromClause] :: FromClause -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderFromClause] :: FromClause (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderFunctionDefinition] :: FunctionDefinition -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderFunctionDefinition] :: FunctionDefinition (db :: k) (args :: k1) (ret :: k2) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderGroupByClause] :: GroupByClause -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderGroupByClause] :: GroupByClause (grp :: k) (from :: k1) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderIndexMethod] :: IndexMethod -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderIndexMethod] :: IndexMethod (ty :: k) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderManipulation] :: Manipulation -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderManipulation] :: Manipulation (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderQuery] :: Query -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderQuery] :: Query (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (row :: RowType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderTableConstraintExpression] :: TableConstraintExpression -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderTableConstraintExpression] :: TableConstraintExpression (sch :: Symbol) (tab :: Symbol) (db :: SchemasType) (constraint :: TableConstraint) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderTypeExpression] :: TypeExpression -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderTypeExpression] :: TypeExpression (db :: SchemasType) (ty :: NullType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderWindowFunction] :: WindowFunction -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [renderWindowFunction] :: WindowFunction (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType) -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runEncodeParams] :: EncodeParams x -> x -> ReaderT (K Connection db) IO (NP (K (Maybe Encoding) :: NullType -> Type) tys)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runEncodeParams] :: EncodeParams (db :: SchemasType) (tys :: [NullType]) x -> x -> ReaderT (K Connection db) IO (NP (K (Maybe Encoding) :: NullType -> Type) tys)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runIndexed] :: Indexed -> t i j m r
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runIndexed] :: Indexed (t :: k -> k1 -> k2 -> k3 -> Type) (m :: k2) (r :: k3) (i :: k) (j :: k1) -> t i j m r
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runStateT] :: StateT s a -> s -> m (a, s)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [runStateT] :: StateT s (m :: Type -> Type) a -> s -> m (a, s)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [unDecodeRow] :: DecodeRow y -> ReaderT (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row) (Except Text) y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [unDecodeRow] :: DecodeRow (row :: RowType) y -> ReaderT (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row) (Except Text) y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [unPQ] :: PQ x -> K Connection db0 -> m (K x db1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [unPQ] :: PQ (db0 :: SchemasType) (db1 :: SchemasType) (m :: Type -> Type) x -> K Connection db0 -> m (K x db1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [up] :: IsoQ -> c x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [up] :: IsoQ (c :: k -> k -> Type) (x :: k) (y :: k) -> c x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [whereClause] :: TableExpression -> [Condition Ungrouped lat with db params from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [whereClause] :: TableExpression (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [Condition 'Ungrouped lat with db params from]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [windowArgs] :: WindowArg -> NP (Expression grp lat with db params from) args
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [windowArgs] :: WindowArg (grp :: Grouping) (args :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> NP (Expression grp lat with db params from) args
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [windowFilter] :: WindowArg -> [Condition grp lat with db params from]
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: [windowFilter] :: WindowArg (grp :: Grouping) (args :: [NullType]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) -> [Condition grp lat with db params from]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: aParam :: ToParam db (NullPG x) x => EncodeParams db (NullPG x : ([] :: [NullType])) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: aParam :: forall (db :: SchemasType) x. ToParam db (NullPG x) x => EncodeParams db '[NullPG x] x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: addColumn :: (AddColumn ty, KnownSymbol column, Has sch db schema, Has tab schema (Table (constraints :=> columns))) => Alias column -> ColumnTypeExpression db ty -> AlterTable sch tab db (constraints :=> Create column ty columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: addColumn :: forall (column :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType). (AddColumn ty, KnownSymbol column, Has sch db schema, Has tab schema ('Table (constraints :=> columns))) => Alias column -> ColumnTypeExpression db ty -> AlterTable sch tab db (constraints :=> Create column ty columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: addConstraint :: (KnownSymbol alias, Has sch db schema, Has tab schema (Table (constraints :=> columns))) => Alias alias -> TableConstraintExpression sch tab db constraint -> AlterTable sch tab db (Create alias constraint constraints :=> columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: addConstraint :: forall (alias :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType) (constraint :: TableConstraint). (KnownSymbol alias, Has sch db schema, Has tab schema ('Table (constraints :=> columns))) => Alias alias -> TableConstraintExpression sch tab db constraint -> AlterTable sch tab db (Create alias constraint constraints :=> columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: allNotNull :: () => Expression Ungrouped lat with db params from (Null x) -> AggregateArg (NotNull x : ([] :: [NullType])) lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: allNotNull :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (x :: PGType). Expression 'Ungrouped lat with db params from ('Null x) -> AggregateArg '[ 'NotNull x] lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: also :: Additional expr => expr ys -> expr xs -> expr (Join xs ys)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: also :: forall (ys :: [a]) (xs :: [a]). Additional expr => expr ys -> expr xs -> expr (Join xs ys)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterColumn :: (KnownSymbol column, Has sch db schema, Has tab schema (Table (constraints :=> columns)), Has column columns ty0) => Alias column -> AlterColumn db ty0 ty1 -> AlterTable sch tab db (constraints :=> Alter column ty1 columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterColumn :: forall (column :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType) (ty0 :: ColumnType) (ty1 :: ColumnType). (KnownSymbol column, Has sch db schema, Has tab schema ('Table (constraints :=> columns)), Has column columns ty0) => Alias column -> AlterColumn db ty0 ty1 -> AlterTable sch tab db (constraints :=> Alter column ty1 columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTable :: (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> AlterTable sch tab db table -> Definition db (Alter sch (Alter tab (Table table) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTable :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (tab :: Symbol) (table :: TableType). (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> AlterTable sch tab db table -> Definition db (Alter sch (Alter tab ('Table table) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableIfExists :: (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> AlterTable sch tab db table -> Definition db (Alter sch (AlterIfExists tab (Table table) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (tab :: Symbol) (table :: TableType). (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> AlterTable sch tab db table -> Definition db (Alter sch (AlterIfExists tab ('Table table) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableIfExistsRename :: (KnownSymbol tab0, KnownSymbol tab1) => Alias tab0 -> Alias tab1 -> Definition schema (RenameIfExists tab0 tab1 schema)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableIfExistsRename :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (tab0 :: Symbol) (tab1 :: Symbol). (Has sch db schema, KnownSymbol tab0, KnownSymbol tab1) => QualifiedAlias sch tab0 -> Alias tab1 -> Definition db (Alter sch (RenameIfExists tab0 tab1 schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableRename :: (KnownSymbol tab0, KnownSymbol tab1) => Alias tab0 -> Alias tab1 -> Definition schema (Rename tab0 tab1 schema)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterTableRename :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab1 :: Symbol) (tab0 :: Symbol) (table :: TableType). (Has sch db schema, KnownSymbol tab1, Has tab0 schema ('Table table)) => QualifiedAlias sch tab0 -> Alias tab1 -> Definition db (Alter sch (Rename tab0 tab1 schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterType :: () => ColumnTypeExpression db ty -> AlterColumn db ty0 ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: alterType :: forall (db :: SchemasType) (ty :: ColumnType) (ty0 :: ColumnType). ColumnTypeExpression db ty -> AlterColumn db ty0 ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: appendParams :: () => EncodeParams db params0 x -> EncodeParams db params1 x -> EncodeParams db (Join params0 params1) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: appendParams :: forall (db :: SchemasType) (params0 :: [NullType]) x (params1 :: [NullType]). EncodeParams db params0 x -> EncodeParams db params1 x -> EncodeParams db (Join params0 params1) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array :: () => [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null (PGvararray ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType) (null :: PGType -> NullType). [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null ('PGvararray ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array0 :: () => TypeExpression db ty -> Expression grp lat with db params from (null (PGvararray ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array0 :: forall (db :: SchemasType) (ty :: NullType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (params :: [NullType]) (from :: FromType) (null :: PGType -> NullType). TypeExpression db ty -> Expression grp lat with db params from (null ('PGvararray ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array1 :: (n ~ Length tys, All (NullType ~ ty) tys) => NP (Expression grp lat with db params from) tys -> Expression grp lat with db params from (null (PGfixarray (n : ([] :: [Nat])) ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array1 :: forall (n :: Nat) (tys :: [NullType]) (ty :: NullType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (null :: PGType -> NullType). (n ~ Length tys, All (NullType ~ ty) tys) => NP (Expression grp lat with db params from) tys -> Expression grp lat with db params from (null ('PGfixarray '[n] ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array2 :: (All ([NullType] ~ tys) tyss, All (SListI :: [NullType] -> Constraint) tyss, Length tyss ~ n1, All (NullType ~ ty) tys, Length tys ~ n2) => NP (NP (Expression grp lat with db params from)) tyss -> Expression grp lat with db params from (null (PGfixarray (n1 : (n2 : ([] :: [Nat]))) ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: array2 :: forall (tys :: [NullType]) (tyss :: [[NullType]]) (n1 :: Nat) (ty :: NullType) (n2 :: Nat) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (null :: PGType -> NullType). (All ([NullType] ~ tys) tyss, All (SListI :: [NullType] -> Constraint) tyss, Length tyss ~ n1, All (NullType ~ ty) tys, Length tys ~ n2) => NP (NP (Expression grp lat with db params from)) tyss -> Expression grp lat with db params from (null ('PGfixarray '[n1, n2] ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayAgg :: Aggregate arg expr => arg (ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGvararray ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayAgg :: forall (ty :: NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[ty] lat with db params from -> expr lat with db params from ('Null ('PGvararray ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayToJson :: () => null (PGvararray ty) --> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayToJson :: forall (null :: PGType -> NullType) (ty :: NullType). null ('PGvararray ty) --> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayToTSvector :: () => null (PGvararray (NotNull PGtext)) --> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: arrayToTSvector :: forall (null :: PGType -> NullType). null ('PGvararray ('NotNull 'PGtext)) --> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: astype :: () => TypeExpression db ty -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: astype :: forall (db :: SchemasType) (ty :: NullType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (params :: [NullType]) (from :: FromType). TypeExpression db ty -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atLeast :: () => x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atLeast :: x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atMost :: () => x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atMost :: x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atan2_ :: In float PGFloating => (null float : (null float : ([] :: [NullType]))) ---> null float
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: atan2_ :: forall (float :: PGType) (null :: PGType -> NullType). In float PGFloating => '[null float, null float] ---> null float
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: avg :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: avg :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: begin :: () => TransactionMode -> Manipulation_ db () ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: begin :: forall (db :: SchemasType). TransactionMode -> Manipulation_ db () ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bigint :: () => TypeExpression db (null PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bigint :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bigserial :: () => ColumnTypeExpression db (Def :=> NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bigserial :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bitAnd :: (Aggregate arg expr, In int PGIntegral) => arg (null int : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null int)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bitAnd :: forall (int :: PGType) (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). (Aggregate arg expr, In int PGIntegral) => arg '[null int] lat with db params from -> expr lat with db params from ('Null int)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bitOr :: (Aggregate arg expr, In int PGIntegral) => arg (null int : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null int)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bitOr :: forall (int :: PGType) (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). (Aggregate arg expr, In int PGIntegral) => arg '[null int] lat with db params from -> expr lat with db params from ('Null int)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bool :: () => TypeExpression db (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bool :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: boolAnd :: Aggregate arg expr => arg (null PGbool : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: boolAnd :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGbool] lat with db params from -> expr lat with db params from ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: boolOr :: Aggregate arg expr => arg (null PGbool : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: boolOr :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGbool] lat with db params from -> expr lat with db params from ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: brin :: IndexMethod Brin
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: brin :: IndexMethod 'Brin
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: btree :: IndexMethod Btree
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: btree :: IndexMethod 'Btree
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bytea :: () => TypeExpression db (null PGbytea)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: bytea :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGbytea)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cardinality :: () => null (PGvararray ty) --> null PGint8
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cardinality :: forall (null :: PGType -> NullType) (ty :: NullType). null ('PGvararray ty) --> null 'PGint8
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: caseWhenThenElse :: () => [(Condition grp lat with db params from, Expression grp lat with db params from ty)] -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: caseWhenThenElse :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType). [(Condition grp lat with db params from, Expression grp lat with db params from ty)] -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cast :: () => TypeExpression db ty1 -> Expression grp lat with db params from ty0 -> Expression grp lat with db params from ty1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cast :: forall (db :: SchemasType) (ty1 :: NullType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (params :: [NullType]) (from :: FromType) (ty0 :: NullType). TypeExpression db ty1 -> Expression grp lat with db params from ty0 -> Expression grp lat with db params from ty1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ceiling_ :: In frac PGFloating => null frac --> null frac
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ceiling_ :: forall (frac :: PGType) (null :: PGType -> NullType). In frac PGFloating => null frac --> null frac
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: char :: (KnownNat n, 1 <= n) => TypeExpression db (null (PGchar n))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: char :: forall (n :: Nat) (db :: SchemasType) (null :: PGType -> NullType). (KnownNat n, 1 <= n) => TypeExpression db (null ('PGchar n))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: charLength :: () => null PGtext --> null PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: charLength :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: character :: (KnownNat n, 1 <= n) => TypeExpression db (null (PGchar n))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: character :: forall (n :: Nat) (db :: SchemasType) (null :: PGType -> NullType). (KnownNat n, 1 <= n) => TypeExpression db (null ('PGchar n))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: characterVarying :: (KnownNat n, 1 <= n) => TypeExpression db (null (PGvarchar n))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: characterVarying :: forall (n :: Nat) (db :: SchemasType) (null :: PGType -> NullType). (KnownNat n, 1 <= n) => TypeExpression db (null ('PGvarchar n))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: check :: (Has sch db schema, Has tab schema (Table table), HasAll aliases (TableToRow table) subcolumns) => NP Alias aliases -> (forall (t :: Symbol). () => Condition Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ((t ::: subcolumns) : ([] :: [(Symbol, [(Symbol, NullType)])]))) -> TableConstraintExpression sch tab db (Check aliases)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: check :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (aliases :: [Symbol]) (subcolumns :: [(Symbol, NullType)]). (Has sch db schema, Has tab schema ('Table table), HasAll aliases (TableToRow table) subcolumns) => NP Alias aliases -> (forall (t :: Symbol). () => Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) '[t ::: subcolumns]) -> TableConstraintExpression sch tab db ('Check aliases)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: coalesce :: () => FunctionVar (Null ty) (null ty) (null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: coalesce :: forall (ty :: PGType) (null :: PGType -> NullType). FunctionVar ('Null ty) (null ty) (null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: columntypeFrom :: ColumnTyped db (NoDef :=> NullPG hask) => ColumnTypeExpression db (NoDef :=> NullPG hask)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: columntypeFrom :: forall hask (db :: SchemasType). ColumnTyped db ('NoDef :=> NullPG hask) => ColumnTypeExpression db ('NoDef :=> NullPG hask)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commit :: () => Manipulation_ db () ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: commit :: forall (db :: SchemasType). Manipulation_ db () ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: common :: Has cte with common => Aliased Alias (alias ::: cte) -> FromClause lat with db params ((alias ::: common) : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: common :: forall (cte :: Symbol) (with :: [(Symbol, RowType)]) (common :: RowType) (alias :: Symbol) (lat :: FromType) (db :: SchemasType) (params :: [NullType]). Has cte with common => Aliased Alias (alias ::: cte) -> FromClause lat with db params '[alias ::: common]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: connectdb :: MonadIO io => ByteString -> io (K Connection db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: connectdb :: forall (db :: SchemasType) io. MonadIO io => ByteString -> io (K Connection db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: corr :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: corr :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: count :: Aggregate arg expr => arg (ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: count :: forall (ty :: NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[ty] lat with db params from -> expr lat with db params from ('NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: countStar :: Aggregate arg expr => expr lat with db params from (NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: countStar :: forall (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => expr lat with db params from ('NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: covarPop :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: covarPop :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: covarSamp :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: covarSamp :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createConnectionPool :: MonadUnliftIO io => ByteString -> Int -> NominalDiffTime -> Int -> io (Pool (K Connection db))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createConnectionPool :: forall (db :: SchemasType) io. MonadUnliftIO io => ByteString -> Int -> NominalDiffTime -> Int -> io (Pool (K Connection db))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createDomain :: (Has sch db schema, KnownSymbol dom) => QualifiedAlias sch dom -> (forall (null :: PGType -> NullType). () => TypeExpression db (null ty)) -> (forall (tab :: Symbol). () => Condition Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ((tab ::: (("value" ::: Null ty) : ([] :: [(Symbol, NullType)]))) : ([] :: [(Symbol, [(Symbol, NullType)])]))) -> Definition db (Alter sch (Create dom (Typedef ty) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createDomain :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (dom :: Symbol) (ty :: PGType). (Has sch db schema, KnownSymbol dom) => QualifiedAlias sch dom -> (forall (null :: PGType -> NullType). () => TypeExpression db (null ty)) -> (forall (tab :: Symbol). () => Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) '[tab ::: '["value" ::: 'Null ty]]) -> Definition db (Alter sch (Create dom ('Typedef ty) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createFunction :: (Has sch db schema, KnownSymbol fun, SListI args) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> TypeExpression db ret -> FunctionDefinition db args (Returns ret) -> Definition db (Alter sch (Create fun (Function (args :=> Returns ret)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createFunction :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol) (args :: [NullType]) (ret :: NullType). (Has sch db schema, KnownSymbol fun, SListI args) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> TypeExpression db ret -> FunctionDefinition db args ('Returns ret) -> Definition db (Alter sch (Create fun ('Function (args :=> 'Returns ret)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createIndex :: (Has sch db schema, Has tab schema (Table table), KnownSymbol ix) => Alias ix -> QualifiedAlias sch tab -> IndexMethod method -> [SortExpression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)]))] -> Definition db (Alter sch (Create ix (Index method) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createIndex :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (ix :: Symbol) (method :: IndexType). (Has sch db schema, Has tab schema ('Table table), KnownSymbol ix) => Alias ix -> QualifiedAlias sch tab -> IndexMethod method -> [SortExpression 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) '[tab ::: TableToRow table]] -> Definition db (Alter sch (Create ix ('Index method) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createIndexIfNotExists :: (Has sch db schema, Has tab schema (Table table), KnownSymbol ix) => Alias ix -> QualifiedAlias sch tab -> IndexMethod method -> [SortExpression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)]))] -> Definition db (Alter sch (CreateIfNotExists ix (Index method) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createIndexIfNotExists :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (ix :: Symbol) (method :: IndexType). (Has sch db schema, Has tab schema ('Table table), KnownSymbol ix) => Alias ix -> QualifiedAlias sch tab -> IndexMethod method -> [SortExpression 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) '[tab ::: TableToRow table]] -> Definition db (Alter sch (CreateIfNotExists ix ('Index method) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceFunction :: (Has sch db schema, KnownSymbol fun, SListI args) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> TypeExpression db ret -> FunctionDefinition db args (Returns ret) -> Definition db (Alter sch (CreateOrReplace fun (Function (args :=> Returns ret)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceFunction :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol) (args :: [NullType]) (ret :: NullType). (Has sch db schema, KnownSymbol fun, SListI args) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> TypeExpression db ret -> FunctionDefinition db args ('Returns ret) -> Definition db (Alter sch (CreateOrReplace fun ('Function (args :=> 'Returns ret)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceSetFunction :: (Has sch db schema, KnownSymbol fun, SListI args, SListI rets) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> NP (Aliased (TypeExpression db)) rets -> FunctionDefinition db args (ReturnsTable rets) -> Definition db (Alter sch (CreateOrReplace fun (Function (args :=> ReturnsTable rets)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceSetFunction :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol) (args :: [NullType]) (rets :: [(Symbol, NullType)]). (Has sch db schema, KnownSymbol fun, SListI args, SListI rets) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> NP (Aliased (TypeExpression db)) rets -> FunctionDefinition db args ('ReturnsTable rets) -> Definition db (Alter sch (CreateOrReplace fun ('Function (args :=> 'ReturnsTable rets)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceView :: (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Query ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) view -> Definition db (Alter sch (CreateOrReplace vw (View view) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createOrReplaceView :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (vw :: Symbol) (view :: RowType). (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Query ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) view -> Definition db (Alter sch (CreateOrReplace vw ('View view) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSchema :: KnownSymbol sch => Alias sch -> Definition db (Create sch ([] :: [(Symbol, SchemumType)]) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSchema :: forall (sch :: Symbol) (db :: SchemasType). KnownSymbol sch => Alias sch -> Definition db (Create sch ('[] :: [(Symbol, SchemumType)]) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSchemaIfNotExists :: (KnownSymbol sch, Has sch db schema) => Alias sch -> Definition db (CreateIfNotExists sch ([] :: [(Symbol, SchemumType)]) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSchemaIfNotExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType). (KnownSymbol sch, Has sch db schema) => Alias sch -> Definition db (CreateIfNotExists sch ('[] :: [(Symbol, SchemumType)]) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSetFunction :: (Has sch db schema, KnownSymbol fun, SListI args, SListI rets) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> NP (Aliased (TypeExpression db)) rets -> FunctionDefinition db args (ReturnsTable rets) -> Definition db (Alter sch (Create fun (Function (args :=> ReturnsTable rets)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createSetFunction :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol) (args :: [NullType]) (rets :: [(Symbol, NullType)]). (Has sch db schema, KnownSymbol fun, SListI args, SListI rets) => QualifiedAlias sch fun -> NP (TypeExpression db) args -> NP (Aliased (TypeExpression db)) rets -> FunctionDefinition db args ('ReturnsTable rets) -> Definition db (Alter sch (Create fun ('Function (args :=> 'ReturnsTable rets)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTable :: (KnownSymbol sch, KnownSymbol tab, columns ~ (col : cols), SListI columns, SListI constraints, Has sch db0 schema0, db1 ~ Alter sch (Create tab (Table (constraints :=> columns)) schema0) db0) => QualifiedAlias sch tab -> NP (Aliased (ColumnTypeExpression db0)) columns -> NP (Aliased (TableConstraintExpression sch tab db1)) constraints -> Definition db0 db1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTable :: forall (sch :: Symbol) (tab :: Symbol) (columns :: [(Symbol, ColumnType)]) (col :: (Symbol, ColumnType)) (cols :: [(Symbol, ColumnType)]) (constraints :: [(Symbol, TableConstraint)]) (db0 :: [(Symbol, [(Symbol, SchemumType)])]) (schema0 :: [(Symbol, SchemumType)]) (db1 :: [(Symbol, [(Symbol, SchemumType)])]). (KnownSymbol sch, KnownSymbol tab, columns ~ (col : cols), SListI columns, SListI constraints, Has sch db0 schema0, db1 ~ Alter sch (Create tab ('Table (constraints :=> columns)) schema0) db0) => QualifiedAlias sch tab -> NP (Aliased (ColumnTypeExpression db0)) columns -> NP (Aliased (TableConstraintExpression sch tab db1)) constraints -> Definition db0 db1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTableIfNotExists :: (KnownSymbol sch, KnownSymbol tab, columns ~ (col : cols), SListI columns, SListI constraints, Has sch db0 schema0, db1 ~ Alter sch (CreateIfNotExists tab (Table (constraints :=> columns)) schema0) db0) => QualifiedAlias sch tab -> NP (Aliased (ColumnTypeExpression db0)) columns -> NP (Aliased (TableConstraintExpression sch tab db1)) constraints -> Definition db0 db1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTableIfNotExists :: forall (sch :: Symbol) (tab :: Symbol) (columns :: [(Symbol, ColumnType)]) (col :: (Symbol, ColumnType)) (cols :: [(Symbol, ColumnType)]) (constraints :: [(Symbol, TableConstraint)]) (db0 :: [(Symbol, [(Symbol, SchemumType)])]) (schema0 :: [(Symbol, SchemumType)]) (db1 :: [(Symbol, [(Symbol, SchemumType)])]). (KnownSymbol sch, KnownSymbol tab, columns ~ (col : cols), SListI columns, SListI constraints, Has sch db0 schema0, db1 ~ Alter sch (CreateIfNotExists tab ('Table (constraints :=> columns)) schema0) db0) => QualifiedAlias sch tab -> NP (Aliased (ColumnTypeExpression db0)) columns -> NP (Aliased (TableConstraintExpression sch tab db1)) constraints -> Definition db0 db1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeComposite :: (KnownSymbol ty, Has sch db schema, SListI fields) => QualifiedAlias sch ty -> NP (Aliased (TypeExpression db)) fields -> Definition db (Alter sch (Create ty (Typedef (PGcomposite fields)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeComposite :: forall (ty :: Symbol) (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fields :: [(Symbol, NullType)]). (KnownSymbol ty, Has sch db schema, SListI fields) => QualifiedAlias sch ty -> NP (Aliased (TypeExpression db)) fields -> Definition db (Alter sch (Create ty ('Typedef ('PGcomposite fields)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeCompositeFrom :: (All (FieldTyped db) (RowPG hask), KnownSymbol ty, Has sch db schema) => QualifiedAlias sch ty -> Definition db (Alter sch (Create ty (Typedef (PG (Composite hask))) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeCompositeFrom :: forall hask (sch :: Symbol) (ty :: Symbol) (db :: SchemasType) (schema :: SchemaType). (All (FieldTyped db) (RowPG hask), KnownSymbol ty, Has sch db schema) => QualifiedAlias sch ty -> Definition db (Alter sch (Create ty ('Typedef (PG (Composite hask))) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeEnum :: (KnownSymbol enum, Has sch db schema, All KnownSymbol labels) => QualifiedAlias sch enum -> NP PGlabel labels -> Definition db (Alter sch (Create enum (Typedef (PGenum labels)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeEnum :: forall (enum :: Symbol) (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (labels :: [Symbol]). (KnownSymbol enum, Has sch db schema, All KnownSymbol labels) => QualifiedAlias sch enum -> NP PGlabel labels -> Definition db (Alter sch (Create enum ('Typedef ('PGenum labels)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeEnumFrom :: (Generic hask, All KnownSymbol (LabelsPG hask), KnownSymbol enum, Has sch db schema) => QualifiedAlias sch enum -> Definition db (Alter sch (Create enum (Typedef (PG (Enumerated hask))) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeEnumFrom :: forall hask (sch :: Symbol) (enum :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType). (Generic hask, All KnownSymbol (LabelsPG hask), KnownSymbol enum, Has sch db schema) => QualifiedAlias sch enum -> Definition db (Alter sch (Create enum ('Typedef (PG (Enumerated hask))) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeRange :: (Has sch db schema, KnownSymbol range) => QualifiedAlias sch range -> (forall (null :: PGType -> NullType). () => TypeExpression db (null ty)) -> Definition db (Alter sch (Create range (Typedef (PGrange ty)) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createTypeRange :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (range :: Symbol) (ty :: PGType). (Has sch db schema, KnownSymbol range) => QualifiedAlias sch range -> (forall (null :: PGType -> NullType). () => TypeExpression db (null ty)) -> Definition db (Alter sch (Create range ('Typedef ('PGrange ty)) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createView :: (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Query ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) view -> Definition db (Alter sch (Create vw (View view) schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: createView :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (vw :: Symbol) (view :: RowType). (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Query ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) view -> Definition db (Alter sch (Create vw ('View view) schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cross :: () => JoinItem lat with db params left right -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cross :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). JoinItem lat with db params left right -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: crossJoin :: () => FromClause lat with db params right -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: crossJoin :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: FromType). FromClause lat with db params right -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: crossJoinLateral :: () => Aliased (Query (Join lat left) with db params) query -> FromClause lat with db params left -> FromClause lat with db params (Join left (query : ([] :: [(Symbol, RowType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: crossJoinLateral :: forall (lat :: [(Symbol, RowType)]) (left :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> FromClause lat with db params left -> FromClause lat with db params (Join left '[query])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cumeDist :: WinFun0 (NotNull PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: cumeDist :: WinFun0 ('NotNull 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentDate :: () => Expr (null PGdate)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentDate :: forall (null :: PGType -> NullType). Expr (null 'PGdate)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentTime :: () => Expr (null PGtimetz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentTime :: forall (null :: PGType -> NullType). Expr (null 'PGtimetz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentTimestamp :: () => Expr (null PGtimestamptz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: currentTimestamp :: forall (null :: PGType -> NullType). Expr (null 'PGtimestamptz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: date :: () => TypeExpression db (null PGdate)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: date :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGdate)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: daterange :: () => TypeExpression db (null (PGrange PGdate))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: daterange :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGdate))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: decodeRow :: () => (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row -> Either Text y) -> DecodeRow row y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: decodeRow :: forall (row :: [(Symbol, NullType)]) y. (NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row -> Either Text y) -> DecodeRow row y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: default_ :: () => Expression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ([] :: [(Symbol, RowType)]) ty -> ColumnTypeExpression db (NoDef :=> ty) -> ColumnTypeExpression db (Def :=> ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: default_ :: forall (db :: SchemasType) (ty :: NullType). Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) ('[] :: [(Symbol, RowType)]) ty -> ColumnTypeExpression db ('NoDef :=> ty) -> ColumnTypeExpression db ('Def :=> ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: define :: (IndexedMonadTransPQ pq, MonadIO io) => Definition db0 db1 -> pq db0 db1 io ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: define :: forall (io :: Type -> Type) (db0 :: SchemasType) (db1 :: SchemasType). (IndexedMonadTransPQ pq, MonadIO io) => Definition db0 db1 -> pq db0 db1 io ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: deleteFrom :: (SListI row, Has sch db schema, Has tab schema (Table table)) => QualifiedAlias sch tab -> UsingClause with db params from -> Condition Ungrouped ([] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : from) -> ReturningClause with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) row -> Manipulation with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: deleteFrom :: forall (row :: [(Symbol, NullType)]) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (tab :: Symbol) (with :: FromType) (params :: [NullType]) (from :: [(Symbol, RowType)]). (SListI row, Has sch db schema, Has tab0 schema ('Table table)) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> UsingClause with db params from -> Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : from) -> ReturningClause with db params ((tab ::: TableToRow table) : from) row -> Manipulation with db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: deleteFrom_ :: (Has sch db schema, Has tab schema (Table table)) => QualifiedAlias sch tab -> Condition Ungrouped ([] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) -> Manipulation with db params ([] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: deleteFrom_ :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (tab :: Symbol) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has tab0 schema ('Table table)) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params '[tab ::: TableToRow table] -> Manipulation with db params ('[] :: [(Symbol, NullType)])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: denseRank :: WinFun0 (NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: denseRank :: WinFun0 ('NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: destroyConnectionPool :: MonadUnliftIO io => Pool (K Connection db) -> io ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: destroyConnectionPool :: forall k io (db :: k). MonadUnliftIO io => Pool (K Connection db) -> io ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: devalue :: () => Value x -> StateT ByteString (Except Text) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: devalue :: Value x -> StateT ByteString (Except Text) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: disjoin :: SListI xs => NP expr (Join xs ys) -> (NP expr xs, NP expr ys)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: disjoin :: forall k (xs :: [k]) (ys :: [k]) (expr :: k -> Type). SListI xs => NP expr (Join xs ys) -> (NP expr xs, NP expr ys)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: distinctNotNull :: () => Expression Ungrouped lat with db params from (Null x) -> AggregateArg (NotNull x : ([] :: [NullType])) lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: distinctNotNull :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (x :: PGType). Expression 'Ungrouped lat with db params from ('Null x) -> AggregateArg '[ 'NotNull x] lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: doublePrecision :: () => TypeExpression db (null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: doublePrecision :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropColumn :: (KnownSymbol column, Has sch db schema, Has tab schema (Table (constraints :=> columns))) => Alias column -> AlterTable sch tab db (constraints :=> Drop column columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropColumn :: forall (column :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType). (KnownSymbol column, Has sch db schema, Has tab schema ('Table (constraints :=> columns))) => Alias column -> AlterTable sch tab db (constraints :=> Drop column columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropConstraint :: (KnownSymbol constraint, Has sch db schema, Has tab schema (Table (constraints :=> columns))) => Alias constraint -> AlterTable sch tab db (Drop constraint constraints :=> columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropConstraint :: forall (constraint :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType). (KnownSymbol constraint, Has sch db schema, Has tab schema ('Table (constraints :=> columns))) => Alias constraint -> AlterTable sch tab db (Drop constraint constraints :=> columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropDefault :: () => AlterColumn db (Def :=> ty) (NoDef :=> ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropDefault :: forall (db :: SchemasType) (ty :: NullType). AlterColumn db ('Def :=> ty) ('NoDef :=> ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropFunction :: (Has sch db schema, KnownSymbol fun) => QualifiedAlias sch fun -> Definition db (Alter sch (DropSchemum fun Function schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropFunction :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol). (Has sch db schema, KnownSymbol fun) => QualifiedAlias sch fun -> Definition db (Alter sch (DropSchemum fun 'Function schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropFunctionIfExists :: (Has sch db schema, KnownSymbol fun) => QualifiedAlias sch fun -> Definition db (Alter sch (DropSchemumIfExists fun Function schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropFunctionIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (fun :: Symbol). (Has sch db schema, KnownSymbol fun) => QualifiedAlias sch fun -> Definition db (Alter sch (DropSchemumIfExists fun 'Function schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropIndex :: (Has sch db schema, KnownSymbol ix) => QualifiedAlias sch ix -> Definition db (Alter sch (DropSchemum ix Index schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropIndex :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (ix :: Symbol). (Has sch db schema, KnownSymbol ix) => QualifiedAlias sch ix -> Definition db (Alter sch (DropSchemum ix 'Index schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropIndexIfExists :: (Has sch db schema, KnownSymbol ix) => QualifiedAlias sch ix -> Definition db (Alter sch (DropSchemumIfExists ix Index schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropIndexIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (ix :: Symbol). (Has sch db schema, KnownSymbol ix) => QualifiedAlias sch ix -> Definition db (Alter sch (DropSchemumIfExists ix 'Index schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropNotNull :: () => AlterColumn db (constraint :=> NotNull ty) (constraint :=> Null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropNotNull :: forall (db :: SchemasType) (constraint :: Optionality) (ty :: PGType). AlterColumn db (constraint :=> 'NotNull ty) (constraint :=> 'Null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropSchemaCascade :: KnownSymbol sch => Alias sch -> Definition db (Drop sch db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropSchemaCascade :: forall (sch :: Symbol) (db :: SchemasType). KnownSymbol sch => Alias sch -> Definition db (Drop sch db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropSchemaCascadeIfExists :: KnownSymbol sch => Alias sch -> Definition db (DropIfExists sch db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropSchemaCascadeIfExists :: forall (sch :: Symbol) (db :: SchemasType). KnownSymbol sch => Alias sch -> Definition db (DropIfExists sch db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTable :: (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> Definition db (Alter sch (DropSchemum tab Table schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTable :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (tab :: Symbol). (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> Definition db (Alter sch (DropSchemum tab 'Table schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTableIfExists :: (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> Definition db (Alter sch (DropSchemumIfExists tab Table schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTableIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (tab :: Symbol). (Has sch db schema, KnownSymbol tab) => QualifiedAlias sch tab -> Definition db (Alter sch (DropSchemumIfExists tab 'Table schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropType :: (Has sch db schema, KnownSymbol td) => QualifiedAlias sch td -> Definition db (Alter sch (DropSchemum td Typedef schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropType :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (td :: Symbol). (Has sch db schema, KnownSymbol td) => QualifiedAlias sch td -> Definition db (Alter sch (DropSchemum td 'Typedef schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTypeIfExists :: (Has sch db schema, KnownSymbol td) => QualifiedAlias sch td -> Definition db (Alter sch (DropSchemumIfExists td Typedef schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropTypeIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (td :: Symbol). (Has sch db schema, KnownSymbol td) => QualifiedAlias sch td -> Definition db (Alter sch (DropSchemumIfExists td 'Typedef schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropView :: (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Definition db (Alter sch (DropSchemum vw View schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropView :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (vw :: Symbol). (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Definition db (Alter sch (DropSchemum vw 'View schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropViewIfExists :: (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Definition db (Alter sch (DropIfExists vw schema) db)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: dropViewIfExists :: forall (sch :: Symbol) (db :: [(Symbol, SchemaType)]) (schema :: SchemaType) (vw :: Symbol). (Has sch db schema, KnownSymbol vw) => QualifiedAlias sch vw -> Definition db (Alter sch (DropIfExists vw schema) db)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: evalPQ :: Functor m => PQ db0 db1 m x -> K Connection db0 -> m x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: evalPQ :: forall m (db0 :: SchemasType) (db1 :: SchemasType) x. Functor m => PQ db0 db1 m x -> K Connection db0 -> m x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: every :: Aggregate arg expr => arg (null PGbool : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: every :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGbool] lat with db params from -> expr lat with db params from ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: except :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: except :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: exceptAll :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: exceptAll :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: execPQ :: Functor m => PQ db0 db1 m x -> K Connection db0 -> m (K Connection db1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: execPQ :: forall m (db0 :: SchemasType) (db1 :: SchemasType) x. Functor m => PQ db0 db1 m x -> K Connection db0 -> m (K Connection db1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: exists :: () => Query (Join lat from) with db params row -> Expression grp lat with db params from (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: exists :: forall (lat :: [(Symbol, RowType)]) (from :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (row :: RowType) (grp :: Grouping) (null :: PGType -> NullType). Query (Join lat from) with db params row -> Expression grp lat with db params from (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: false :: () => Expr (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: false :: forall (null :: PGType -> NullType). Expr (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: field :: (Has sch db schema, Has tydef schema (Typedef (PGcomposite row)), Has field row ty) => QualifiedAlias sch tydef -> Alias field -> Expression grp lat with db params from (NotNull (PGcomposite row)) -> Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: field :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tydef :: Symbol) (row :: RowType) (field :: Symbol) (ty :: NullType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (params :: [NullType]) (from :: FromType). (Has sch db schema, Has tydef schema ('Typedef ('PGcomposite row)), Has field row ty) => QualifiedAlias sch tydef -> Alias field -> Expression grp lat with db params from ('NotNull ('PGcomposite row)) -> Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: filterWhere :: FilterWhere arg grp => Condition grp lat with db params from -> arg xs lat with db params from -> arg xs lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: filterWhere :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (xs :: k). FilterWhere arg grp => Condition grp lat with db params from -> arg xs lat with db params from -> arg xs lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: finish :: MonadIO io => K Connection db -> io ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: finish :: forall k io (db :: k). MonadIO io => K Connection db -> io ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: firstValue :: () => ty -#-> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: firstValue :: forall (ty :: NullType). ty -#-> ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fixChar :: KnownNat n => Text -> Maybe (FixChar n)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fixChar :: forall (n :: Nat). KnownNat n => Text -> Maybe (FixChar n)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fixarray :: All KnownNat dims => TypeExpression db pg -> TypeExpression db (null (PGfixarray dims pg))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fixarray :: forall (dims :: [Nat]) (db :: SchemasType) (null :: PGType -> NullType) (pg :: NullType). All KnownNat dims => TypeExpression db pg -> TypeExpression db (null ('PGfixarray dims pg))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: float4 :: () => TypeExpression db (null PGfloat4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: float4 :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGfloat4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: float8 :: () => TypeExpression db (null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: float8 :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: foreignKey :: ForeignKeyed db sch schema child parent table reftable columns refcolumns constraints cols reftys tys => NP Alias columns -> Alias parent -> NP Alias refcolumns -> OnDeleteClause -> OnUpdateClause -> TableConstraintExpression sch child db (ForeignKey columns parent refcolumns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: foreignKey :: forall (db :: [(Symbol, [(Symbol, SchemumType)])]) (sch0 :: Symbol) (sch1 :: Symbol) (schema0 :: [(Symbol, SchemumType)]) (schema1 :: [(Symbol, SchemumType)]) (child :: Symbol) (parent :: Symbol) (table :: TableType) (reftable :: TableType) (columns :: [Symbol]) (refcolumns :: [Symbol]) (constraints :: TableConstraints) (cols :: ColumnsType) (reftys :: [(Symbol, ColumnType)]) (tys :: [(Symbol, ColumnType)]). ForeignKeyed db sch0 sch1 schema0 schema1 child parent table reftable columns refcolumns constraints cols reftys tys => NP Alias columns -> QualifiedAlias sch0 parent -> NP Alias refcolumns -> OnDeleteClause -> OnUpdateClause -> TableConstraintExpression sch1 child db ('ForeignKey columns sch0 parent refcolumns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: from :: () => FromClause lat with db params from -> TableExpression Ungrouped lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: from :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). FromClause lat with db params from -> TableExpression 'Ungrouped lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fromNull :: () => Expression grp lat with db params from (NotNull ty) -> Expression grp lat with db params from (Null ty) -> Expression grp lat with db params from (NotNull ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fromNull :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). Expression grp lat with db params from ('NotNull ty) -> Expression grp lat with db params from ('Null ty) -> Expression grp lat with db params from ('NotNull ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuter :: () => JoinItem lat with db params left right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left right))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuter :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). JoinItem lat with db params left right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left right))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuterJoin :: () => FromClause lat with db params right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left right))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuterJoin :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: [(Symbol, RowType)]). FromClause lat with db params right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left right))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuterJoinLateral :: () => Aliased (Query (Join lat left) with db params) query -> Condition Ungrouped lat with db params (Join left (query : ([] :: [(Symbol, RowType)]))) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left (query : ([] :: [(Symbol, RowType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: fullOuterJoinLateral :: forall (lat :: [(Symbol, RowType)]) (left :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> Condition 'Ungrouped lat with db params (Join left '[query]) -> FromClause lat with db params left -> FromClause lat with db params (NullifyFrom (Join left '[query]))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: function :: (Has sch db schema, Has fun schema (Function ((x : ([] :: [NullType])) :=> Returns y))) => QualifiedAlias sch fun -> Fun db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: function :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (fun :: Symbol) (x :: NullType) (y :: NullType). (Has sch db schema, Has fun schema ('Function ('[x] :=> 'Returns y))) => QualifiedAlias sch fun -> Fun db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: functionN :: (Has sch db schema, Has fun schema (Function (xs :=> Returns y)), SListI xs) => QualifiedAlias sch fun -> FunN db xs y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: functionN :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (fun :: Symbol) (xs :: [NullType]) (y :: NullType). (Has sch db schema, Has fun schema ('Function (xs :=> 'Returns y)), SListI xs) => QualifiedAlias sch fun -> FunN db xs y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeries :: In ty (PGint4 : (PGint8 : (PGnumeric : ([] :: [PGType])))) => (null ty : (null ty : ([] :: [NullType]))) --|-> ("generate_series" ::: (("generate_series" ::: null ty) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeries :: forall (ty :: PGType) (null :: PGType -> NullType). In ty '[ 'PGint4, 'PGint8, 'PGnumeric] => '[null ty, null ty] --|-> ("generate_series" ::: '["generate_series" ::: null ty])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeriesStep :: In ty (PGint4 : (PGint8 : (PGnumeric : ([] :: [PGType])))) => (null ty : (null ty : (null ty : ([] :: [NullType])))) --|-> ("generate_series" ::: (("generate_series" ::: null ty) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeriesStep :: forall (ty :: PGType) (null :: PGType -> NullType). In ty '[ 'PGint4, 'PGint8, 'PGnumeric] => '[null ty, null ty, null ty] --|-> ("generate_series" ::: '["generate_series" ::: null ty])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeriesTimestamp :: In ty (PGtimestamp : (PGtimestamptz : ([] :: [PGType]))) => (null ty : (null ty : (null PGinterval : ([] :: [NullType])))) --|-> ("generate_series" ::: (("generate_series" ::: null ty) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: generateSeriesTimestamp :: forall (ty :: PGType) (null :: PGType -> NullType). In ty '[ 'PGtimestamp, 'PGtimestamptz] => '[null ty, null ty, null 'PGinterval] --|-> ("generate_series" ::: '["generate_series" ::: null ty])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: genericParams :: (IsProductType x xs, AllZip (ToParam db) params xs) => EncodeParams db params x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: genericParams :: forall (db :: SchemasType) (params :: [NullType]) x (xs :: [Type]). (IsProductType x xs, AllZip (ToParam db) params xs) => EncodeParams db params x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: genericRow :: (IsRecord y ys, AllZip FromField row ys) => DecodeRow row y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: genericRow :: forall (row :: [(Symbol, NullType)]) y (ys :: RecordCode). (IsRecord y ys, AllZip FromField row ys) => DecodeRow row y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: getFixChar :: () => FixChar n -> Text
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: getFixChar :: forall (n :: Nat). FixChar n -> Text
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: getVarChar :: () => VarChar n -> Text
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: getVarChar :: forall (n :: Nat). VarChar n -> Text
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: gin :: IndexMethod Gin
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: gin :: IndexMethod 'Gin
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: gist :: IndexMethod Gist
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: gist :: IndexMethod 'Gist
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: greatest :: () => FunctionVar ty ty ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: greatest :: forall (ty :: NullType). FunctionVar ty ty ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: groupBy :: SListI bys => NP (By from) bys -> TableExpression Ungrouped lat with db params from -> TableExpression (Grouped bys) lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: groupBy :: forall (bys :: [(Symbol, Symbol)]) (from :: FromType) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). SListI bys => NP (By from) bys -> TableExpression 'Ungrouped lat with db params from -> TableExpression ('Grouped bys) lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: hash :: IndexMethod Hash
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: hash :: IndexMethod 'Hash
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: having :: () => Condition (Grouped bys) lat with db params from -> TableExpression (Grouped bys) lat with db params from -> TableExpression (Grouped bys) lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: having :: forall (bys :: [(Symbol, Symbol)]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). Condition ('Grouped bys) lat with db params from -> TableExpression ('Grouped bys) lat with db params from -> TableExpression ('Grouped bys) lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ifThenElse :: () => Condition grp lat with db params from -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ifThenElse :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType). Condition grp lat with db params from -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty -> Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ilike :: () => Operator (null PGtext) (null PGtext) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ilike :: forall (null :: PGType -> NullType). Operator (null 'PGtext) (null 'PGtext) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: in_ :: () => Expression grp lat with db params from ty -> [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: in_ :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType) (null :: PGType -> NullType). Expression grp lat with db params from ty -> [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: index :: () => Word64 -> null (PGvararray ty) --> NullifyType ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: index :: forall (null :: PGType -> NullType) (ty :: NullType). Word64 -> null ('PGvararray ty) --> NullifyType ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: indexedDefine :: (IndexedMonadTransPQ pq, MonadIO io) => Definition db0 db1 -> Indexed pq io () db0 db1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: indexedDefine :: forall (pq :: SchemasType -> SchemasType -> (Type -> Type) -> Type -> Type) (io :: Type -> Type) (db0 :: SchemasType) (db1 :: SchemasType). (IndexedMonadTransPQ pq, MonadIO io) => Definition db0 db1 -> Indexed pq io () db0 db1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inet :: () => TypeExpression db (null PGinet)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inet :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGinet)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inferredtype :: NullTyped db ty => Expression lat common grp db params from ty -> Expression lat common grp db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inferredtype :: forall (db :: SchemasType) (ty :: NullType) (lat :: Grouping) (common :: FromType) (grp :: FromType) (params :: [NullType]) (from :: FromType). NullTyped db ty => Expression lat common grp db params from ty -> Expression lat common grp db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: infixl 6 !-!
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: infixl 6 +!
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inline :: Inline x => x -> Expr (null (PG x))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inline :: forall (null :: PGType -> NullType). Inline x => x -> Expr (null (PG x))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineColumn :: InlineColumn field column => P field -> Aliased (Optional (Expression grp lat with db params from)) column
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineColumn :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). InlineColumn field column => P field -> Aliased (Optional (Expression grp lat with db params from)) column
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineColumns :: (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) with db params ([] :: [(Symbol, RowType)])))) columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineColumns :: forall hask (xs :: RecordCode) (columns :: [(Symbol, ColumnType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)])))) columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineField :: InlineField field fieldpg => P field -> Aliased (Expression grp lat with db params from) fieldpg
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineField :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). InlineField field fieldpg => P field -> Aliased (Expression grp lat with db params from) fieldpg
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineFields :: (IsRecord hask fields, AllZip InlineField fields row) => hask -> NP (Aliased (Expression Ungrouped ([] :: [(Symbol, RowType)]) with db params ([] :: [(Symbol, RowType)]))) row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineFields :: forall hask (fields :: RecordCode) (row :: [(Symbol, NullType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). (IsRecord hask fields, AllZip InlineField fields row) => hask -> NP (Aliased (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ('[] :: [(Symbol, RowType)]))) row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineValues :: (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> [hask] -> QueryClause with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineValues :: forall hask (xs :: RecordCode) (columns :: [(Symbol, ColumnType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> [hask] -> QueryClause with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineValues_ :: (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> QueryClause with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inlineValues_ :: forall hask (xs :: RecordCode) (columns :: [(Symbol, ColumnType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]). (IsRecord hask xs, AllZip InlineColumn xs columns) => hask -> QueryClause with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inner :: () => JoinItem lat with db params left right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: inner :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). JoinItem lat with db params left right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: innerJoin :: () => FromClause lat with db params right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: innerJoin :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: [(Symbol, RowType)]). FromClause lat with db params right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: innerJoinLateral :: () => Aliased (Query (Join lat left) with db params) query -> Condition Ungrouped lat with db params (Join left (query : ([] :: [(Symbol, RowType)]))) -> FromClause lat with db params left -> FromClause lat with db params (Join left (query : ([] :: [(Symbol, RowType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: innerJoinLateral :: forall (lat :: [(Symbol, RowType)]) (left :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> Condition 'Ungrouped lat with db params (Join left '[query]) -> FromClause lat with db params left -> FromClause lat with db params (Join left '[query])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: insertInto :: (Has sch db schema, Has tab schema (Table table), SListI (TableToColumns table), SListI row) => QualifiedAlias sch tab -> QueryClause with db params (TableToColumns table) -> ConflictClause tab with db params table -> ReturningClause with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) row -> Manipulation with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: insertInto :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (row :: [(Symbol, NullType)]) (tab :: Symbol) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has tab0 schema ('Table table), SListI (TableToColumns table), SListI row) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> QueryClause with db params (TableToColumns table) -> ConflictClause tab with db params table -> ReturningClause with db params '[tab ::: TableToRow table] row -> Manipulation with db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: insertInto_ :: (Has sch db schema, Has tab schema (Table table), SListI (TableToColumns table)) => QualifiedAlias sch tab -> QueryClause with db params (TableToColumns table) -> Manipulation with db params ([] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: insertInto_ :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (tab :: Symbol) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has tab0 schema ('Table table), SListI (TableToColumns table)) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> QueryClause with db params (TableToColumns table) -> Manipulation with db params ('[] :: [(Symbol, NullType)])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int :: () => TypeExpression db (null PGint4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int2 :: () => TypeExpression db (null PGint2)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int2 :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint2)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int4 :: () => TypeExpression db (null PGint4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int4 :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int4range :: () => TypeExpression db (null (PGrange PGint4))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int4range :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGint4))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int8 :: () => TypeExpression db (null PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int8 :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int8range :: () => TypeExpression db (null (PGrange PGint8))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: int8range :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGint8))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: integer :: () => TypeExpression db (null PGint4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: integer :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: intersect :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: intersect :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: intersectAll :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: intersectAll :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: interval :: () => TypeExpression db (null PGinterval)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: interval :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGinterval)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: interval_ :: () => Milli -> TimeUnit -> Expr (null PGinterval)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: interval_ :: forall (null :: PGType -> NullType). Milli -> TimeUnit -> Expr (null 'PGinterval)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isDistinctFrom :: () => Operator (null0 ty) (null1 ty) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isDistinctFrom :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isEmpty :: () => null (PGrange ty) --> Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isEmpty :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isFalse :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isFalse :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotDistinctFrom :: () => Operator (null0 ty) (null1 ty) (NotNull PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotDistinctFrom :: forall k (null0 :: k -> NullType) (ty :: k) (null1 :: k -> NullType). Operator (null0 ty) (null1 ty) ('NotNull 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotFalse :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotFalse :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotNull :: () => Null ty --> null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotNull :: forall (ty :: PGType) (null :: PGType -> NullType). 'Null ty --> null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotTrue :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotTrue :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotUnknown :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNotUnknown :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNull :: () => Null ty --> null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isNull :: forall (ty :: PGType) (null :: PGType -> NullType). 'Null ty --> null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isTrue :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isTrue :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isUnknown :: () => null0 PGbool --> null1 PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: isUnknown :: forall (null0 :: PGType -> NullType) (null1 :: PGType -> NullType). null0 'PGbool --> null1 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: json :: () => TypeExpression db (null PGjson)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: json :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGjson)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonAgg :: Aggregate arg expr => arg (ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null PGjson)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonAgg :: forall (ty :: NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[ty] lat with db params from -> expr lat with db params from ('Null 'PGjson)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonArrayLength :: () => null PGjson --> null PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonArrayLength :: forall (null :: PGType -> NullType). null 'PGjson --> null 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonBuildArray :: SListI tuple => tuple ---> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonBuildArray :: forall (tuple :: [NullType]) (null :: PGType -> NullType). SListI tuple => tuple ---> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonBuildObject :: JsonBuildObject tys => tys ---> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonBuildObject :: forall (null :: PGType -> NullType). JsonBuildObject tys => tys ---> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonEach :: () => null PGjson -|-> ("json_each" ::: (("key" ::: NotNull PGtext) : (("value" ::: NotNull PGjson) : ([] :: [(Symbol, NullType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonEach :: forall (null :: PGType -> NullType). null 'PGjson -|-> ("json_each" ::: '["key" ::: 'NotNull 'PGtext, "value" ::: 'NotNull 'PGjson])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonEachText :: () => null PGjson -|-> ("json_each_text" ::: (("key" ::: NotNull PGtext) : (("value" ::: NotNull PGtext) : ([] :: [(Symbol, NullType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonEachText :: forall (null :: PGType -> NullType). null 'PGjson -|-> ("json_each_text" ::: '["key" ::: 'NotNull 'PGtext, "value" ::: 'NotNull 'PGtext])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonObject :: () => null (PGfixarray (n : (2 : ([] :: [Nat]))) (NotNull PGtext)) --> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonObject :: forall (null :: PGType -> NullType) (n :: Nat). null ('PGfixarray '[n, 2] ('NotNull 'PGtext)) --> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonObjectKeys :: () => null PGjson -|-> ("json_object_keys" ::: (("json_object_keys" ::: NotNull PGtext) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonObjectKeys :: forall (null :: PGType -> NullType). null 'PGjson -|-> ("json_object_keys" ::: '["json_object_keys" ::: 'NotNull 'PGtext])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonPopulateRecord :: JsonPopulateFunction "json_populate_record" PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonPopulateRecord :: JsonPopulateFunction "json_populate_record" 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonPopulateRecordSet :: JsonPopulateFunction "json_populate_record_set" PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonPopulateRecordSet :: JsonPopulateFunction "json_populate_record_set" 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonStripNulls :: () => null PGjson --> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonStripNulls :: forall (null :: PGType -> NullType). null 'PGjson --> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToRecord :: JsonToRecordFunction PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToRecord :: JsonToRecordFunction 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToRecordSet :: JsonToRecordFunction PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToRecordSet :: JsonToRecordFunction 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToTSvector :: () => (null PGjson : (null PGjson : ([] :: [NullType]))) ---> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonToTSvector :: forall (null :: PGType -> NullType). '[null 'PGjson, null 'PGjson] ---> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonTypeof :: () => null PGjson --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonTypeof :: forall (null :: PGType -> NullType). null 'PGjson --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonZipObject :: () => (null (PGvararray (NotNull PGtext)) : (null (PGvararray (NotNull PGtext)) : ([] :: [NullType]))) ---> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonZipObject :: forall (null :: PGType -> NullType). '[null ('PGvararray ('NotNull 'PGtext)), null ('PGvararray ('NotNull 'PGtext))] ---> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonb :: () => TypeExpression db (null PGjsonb)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonb :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGjsonb)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbAgg :: Aggregate arg expr => arg (ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null PGjsonb)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbAgg :: forall (ty :: NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[ty] lat with db params from -> expr lat with db params from ('Null 'PGjsonb)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbArrayLength :: () => null PGjsonb --> null PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbArrayLength :: forall (null :: PGType -> NullType). null 'PGjsonb --> null 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbBuildArray :: SListI tuple => tuple ---> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbBuildArray :: forall (tuple :: [NullType]) (null :: PGType -> NullType). SListI tuple => tuple ---> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbBuildObject :: JsonBuildObject tys => tys ---> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbBuildObject :: forall (null :: PGType -> NullType). JsonBuildObject tys => tys ---> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbEach :: () => null PGjsonb -|-> ("jsonb_each" ::: (("key" ::: NotNull PGtext) : (("value" ::: NotNull PGjson) : ([] :: [(Symbol, NullType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbEach :: forall (null :: PGType -> NullType). null 'PGjsonb -|-> ("jsonb_each" ::: '["key" ::: 'NotNull 'PGtext, "value" ::: 'NotNull 'PGjson])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbEachText :: () => null PGjsonb -|-> ("jsonb_each_text" ::: (("key" ::: NotNull PGtext) : (("value" ::: NotNull PGtext) : ([] :: [(Symbol, NullType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbEachText :: forall (null :: PGType -> NullType). null 'PGjsonb -|-> ("jsonb_each_text" ::: '["key" ::: 'NotNull 'PGtext, "value" ::: 'NotNull 'PGtext])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbInsert :: () => (null PGjsonb : (null (PGvararray (NotNull PGtext)) : (null PGjsonb : (null PGbool : ([] :: [NullType]))))) ---> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbInsert :: forall (null :: PGType -> NullType). '[null 'PGjsonb, null ('PGvararray ('NotNull 'PGtext)), null 'PGjsonb, null 'PGbool] ---> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbObject :: () => null (PGfixarray (n : (2 : ([] :: [Nat]))) (NotNull PGtext)) --> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbObject :: forall (null :: PGType -> NullType) (n :: Nat). null ('PGfixarray '[n, 2] ('NotNull 'PGtext)) --> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbObjectKeys :: () => null PGjsonb -|-> ("jsonb_object_keys" ::: (("jsonb_object_keys" ::: NotNull PGtext) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbObjectKeys :: forall (null :: PGType -> NullType). null 'PGjsonb -|-> ("jsonb_object_keys" ::: '["jsonb_object_keys" ::: 'NotNull 'PGtext])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPopulateRecord :: JsonPopulateFunction "jsonb_populate_record" PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPopulateRecord :: JsonPopulateFunction "jsonb_populate_record" 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPopulateRecordSet :: JsonPopulateFunction "jsonb_populate_record_set" PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPopulateRecordSet :: JsonPopulateFunction "jsonb_populate_record_set" 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPretty :: () => null PGjsonb --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbPretty :: forall (null :: PGType -> NullType). null 'PGjsonb --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbSet :: () => (null PGjsonb : (null (PGvararray (NotNull PGtext)) : (null PGjsonb : (null PGbool : ([] :: [NullType]))))) ---> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbSet :: forall (null :: PGType -> NullType). '[null 'PGjsonb, null ('PGvararray ('NotNull 'PGtext)), null 'PGjsonb, null 'PGbool] ---> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbStripNulls :: () => null PGjsonb --> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbStripNulls :: forall (null :: PGType -> NullType). null 'PGjsonb --> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToRecord :: JsonToRecordFunction PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToRecord :: JsonToRecordFunction 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToRecordSet :: JsonToRecordFunction PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToRecordSet :: JsonToRecordFunction 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToTSvector :: () => (null PGjsonb : (null PGjsonb : ([] :: [NullType]))) ---> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbToTSvector :: forall (null :: PGType -> NullType). '[null 'PGjsonb, null 'PGjsonb] ---> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbTypeof :: () => null PGjsonb --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbTypeof :: forall (null :: PGType -> NullType). null 'PGjsonb --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbZipObject :: () => (null (PGvararray (NotNull PGtext)) : (null (PGvararray (NotNull PGtext)) : ([] :: [NullType]))) ---> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: jsonbZipObject :: forall (null :: PGType -> NullType). '[null ('PGvararray ('NotNull 'PGtext)), null ('PGvararray ('NotNull 'PGtext))] ---> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lag :: () => (ty : (NotNull PGint4 : (ty : ([] :: [NullType])))) --#-> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lag :: forall (ty :: NullType). '[ty, 'NotNull 'PGint4, ty] --#-> ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: languageSqlExpr :: () => Expression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db args ([] :: [(Symbol, RowType)]) ret -> FunctionDefinition db args (Returns ret)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: languageSqlExpr :: forall (db :: SchemasType) (args :: [NullType]) (ret :: NullType). Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db args ('[] :: [(Symbol, RowType)]) ret -> FunctionDefinition db args ('Returns ret)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: languageSqlQuery :: () => Query ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db args rets -> FunctionDefinition db args (ReturnsTable rets)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: languageSqlQuery :: forall (db :: SchemasType) (args :: [NullType]) (rets :: RowType). Query ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db args rets -> FunctionDefinition db args ('ReturnsTable rets)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lastValue :: () => ty -#-> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lastValue :: forall (ty :: NullType). ty -#-> ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lead :: () => (ty : (NotNull PGint4 : (ty : ([] :: [NullType])))) --#-> ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lead :: forall (ty :: NullType). '[ty, 'NotNull 'PGint4, ty] --#-> ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: least :: () => FunctionVar ty ty ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: least :: forall (ty :: NullType). FunctionVar ty ty ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuter :: () => JoinItem lat with db params left right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom right))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuter :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). JoinItem lat with db params left right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom right))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuterJoin :: () => FromClause lat with db params right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom right))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuterJoin :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: [(Symbol, RowType)]). FromClause lat with db params right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom right))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuterJoinLateral :: () => Aliased (Query (Join lat left) with db params) query -> Condition Ungrouped lat with db params (Join left (query : ([] :: [(Symbol, RowType)]))) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom (query : ([] :: [(Symbol, RowType)]))))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: leftOuterJoinLateral :: forall (lat :: [(Symbol, RowType)]) (left :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> Condition 'Ungrouped lat with db params (Join left '[query]) -> FromClause lat with db params left -> FromClause lat with db params (Join left (NullifyFrom '[query]))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lessThan :: () => x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lessThan :: x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: like :: () => Operator (null PGtext) (null PGtext) (Null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: like :: forall (null :: PGType -> NullType). Operator (null 'PGtext) (null 'PGtext) ('Null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: limit :: () => Word64 -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: limit :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). Word64 -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: localTime :: () => Expr (null PGtime)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: localTime :: forall (null :: PGType -> NullType). Expr (null 'PGtime)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: localTimestamp :: () => Expr (null PGtimestamp)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: localTimestamp :: forall (null :: PGType -> NullType). Expr (null 'PGtimestamp)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lower :: () => null PGtext --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lower :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerBound :: () => null (PGrange ty) --> Null ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerBound :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerConnection :: () => K Connection (schema : db) -> K Connection db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerConnection :: forall a (schema :: a) (db :: [a]). K Connection (schema : db) -> K Connection db
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerInc :: () => null (PGrange ty) --> Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerInc :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerInf :: () => null (PGrange ty) --> Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: lowerInf :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mainMigrate :: Migratory p (Indexed PQ IO ()) => ByteString -> Path (Migration p) db0 db1 -> IO ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mainMigrate :: forall (p :: SchemasType -> SchemasType -> Type) (db0 :: SchemasType) (db1 :: SchemasType). Migratory p (Indexed PQ IO ()) => ByteString -> Path (Migration p) db0 db1 -> IO ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mainMigrateIso :: Migratory (IsoQ def) (IsoQ (Indexed PQ IO ())) => ByteString -> Path (Migration (IsoQ def)) db0 db1 -> IO ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mainMigrateIso :: forall (def :: SchemasType -> SchemasType -> Type) (db0 :: SchemasType) (db1 :: SchemasType). Migratory (IsoQ def) (IsoQ (Indexed PQ IO ())) => ByteString -> Path (Migration (IsoQ def)) db0 db1 -> IO ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeDate :: () => (null PGint4 : (null PGint4 : (null PGint4 : ([] :: [NullType])))) ---> null PGdate
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeDate :: forall (null :: PGType -> NullType). '[null 'PGint4, null 'PGint4, null 'PGint4] ---> null 'PGdate
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTime :: () => (null PGint4 : (null PGint4 : (null PGfloat8 : ([] :: [NullType])))) ---> null PGtime
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTime :: forall (null :: PGType -> NullType). '[null 'PGint4, null 'PGint4, null 'PGfloat8] ---> null 'PGtime
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTimestamp :: () => (null PGint4 : (null PGint4 : (null PGint4 : (null PGint4 : (null PGint4 : (null PGfloat8 : ([] :: [NullType]))))))) ---> null PGtimestamp
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTimestamp :: forall (null :: PGType -> NullType). '[null 'PGint4, null 'PGint4, null 'PGint4, null 'PGint4, null 'PGint4, null 'PGfloat8] ---> null 'PGtimestamp
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTimestamptz :: () => (null PGint4 : (null PGint4 : (null PGint4 : (null PGint4 : (null PGint4 : (null PGfloat8 : ([] :: [NullType]))))))) ---> null PGtimestamptz
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: makeTimestamptz :: forall (null :: PGType -> NullType). '[null 'PGint4, null 'PGint4, null 'PGint4, null 'PGint4, null 'PGint4, null 'PGfloat8] ---> null 'PGtimestamptz
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: manipulation :: (GenericParams db params x xs, GenericRow row y ys) => Manipulation ([] :: [(Symbol, RowType)]) db params row -> Statement db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: manipulation :: forall (db :: SchemasType) (params :: [NullType]) x (xs :: [Type]) (row :: [(Symbol, NullType)]) y (ys :: RecordCode). (GenericParams db params x xs, GenericRow row y ys) => Manipulation ('[] :: [(Symbol, RowType)]) db params row -> Statement db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: manipulation_ :: () => Manipulation ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ([] :: [(Symbol, NullType)]) -> Definition db db
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: manipulation_ :: forall (db :: SchemasType). Manipulation ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) ('[] :: [(Symbol, NullType)]) -> Definition db db
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mapAliased :: () => (expr x -> expr y) -> Aliased expr (alias ::: x) -> Aliased expr (alias ::: y)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mapAliased :: forall k expr (x :: k) (y :: k) (alias :: Symbol). (expr x -> expr y) -> Aliased expr (alias ::: x) -> Aliased expr (alias ::: y)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mapOptional :: () => (expr x -> expr y) -> Optional expr (def :=> x) -> Optional expr (def :=> y)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: mapOptional :: forall k expr (x :: k) (y :: k) (def :: Optionality). (expr x -> expr y) -> Optional expr (def :=> x) -> Optional expr (def :=> y)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: matchNull :: () => Expression grp lat with db params from nullty -> (Expression grp lat with db params from (NotNull ty) -> Expression grp lat with db params from nullty) -> Expression grp lat with db params from (Null ty) -> Expression grp lat with db params from nullty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: matchNull :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (nullty :: NullType) (ty :: PGType). Expression grp lat with db params from nullty -> (Expression grp lat with db params from ('NotNull ty) -> Expression grp lat with db params from nullty) -> Expression grp lat with db params from ('Null ty) -> Expression grp lat with db params from nullty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: max_ :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: max_ :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrate :: Migratory def (Indexed PQ IO ()) => Path (Migration def) db0 db1 -> PQ db0 db1 IO ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrate :: forall (def :: SchemasType -> SchemasType -> Type) (db0 :: SchemasType) (db1 :: SchemasType). Migratory def (Indexed PQ IO ()) => Path (Migration def) db0 db1 -> PQ db0 db1 IO ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrateDown :: Migratory def (IsoQ (Indexed PQ IO ())) => Path (Migration def) db0 db1 -> PQ db1 db0 IO ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrateDown :: forall (def :: SchemasType -> SchemasType -> Type) (db0 :: SchemasType) (db1 :: SchemasType). Migratory def (IsoQ (Indexed PQ IO ())) => Path (Migration def) db0 db1 -> PQ db1 db0 IO ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrateUp :: Migratory def (IsoQ (Indexed PQ IO ())) => Path (Migration def) db0 db1 -> PQ db0 db1 IO ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: migrateUp :: forall (def :: SchemasType -> SchemasType -> Type) (db0 :: SchemasType) (db1 :: SchemasType). Migratory def (IsoQ (Indexed PQ IO ())) => Path (Migration def) db0 db1 -> PQ db0 db1 IO ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: min_ :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: min_ :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: money :: () => TypeExpression schema (null PGmoney)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: money :: forall (schema :: SchemasType) (null :: PGType -> NullType). TypeExpression schema (null 'PGmoney)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: monoNotNull :: () => (forall (null :: PGType -> NullType). () => Expression grp lat with db params from (null ty)) -> Expression grp lat with db params from (NotNull ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: monoNotNull :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: PGType). (forall (null :: PGType -> NullType). () => Expression grp lat with db params from (null ty)) -> Expression grp lat with db params from ('NotNull ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: moreThan :: () => x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: moreThan :: x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nilParams :: () => EncodeParams db ([] :: [NullType]) x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nilParams :: forall (db :: SchemasType) x. EncodeParams db ('[] :: [NullType]) x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notIn :: () => Expression grp lat with db params from ty -> [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notIn :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty :: NullType) (null :: PGType -> NullType). Expression grp lat with db params from ty -> [Expression grp lat with db params from ty] -> Expression grp lat with db params from (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notNull :: () => NotNull ty --> Null ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notNull :: forall (ty :: PGType). 'NotNull ty --> 'Null ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notNullable :: () => TypeExpression db (null ty) -> ColumnTypeExpression db (NoDef :=> NotNull ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: notNullable :: forall (db :: SchemasType) (null :: PGType -> NullType) (ty :: PGType). TypeExpression db (null ty) -> ColumnTypeExpression db ('NoDef :=> 'NotNull ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: not_ :: () => null PGbool --> null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: not_ :: forall (null :: PGType -> NullType). null 'PGbool --> null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: now :: () => Expr (null PGtimestamptz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: now :: forall (null :: PGType -> NullType). Expr (null 'PGtimestamptz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nthValue :: () => (null ty : (NotNull PGint4 : ([] :: [NullType]))) --#-> Null ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nthValue :: forall (null :: PGType -> NullType) (ty :: PGType). '[null ty, 'NotNull 'PGint4] --#-> 'Null ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ntile :: NotNull PGint4 -#-> NotNull PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: ntile :: 'NotNull 'PGint4 -#-> 'NotNull 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nullIf :: () => (NotNull ty : (NotNull ty : ([] :: [NullType]))) ---> Null ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nullIf :: forall (ty :: PGType). '[ 'NotNull ty, 'NotNull ty] ---> 'Null ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: null_ :: () => Expr (Null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: null_ :: forall (ty :: PGType). Expr ('Null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nullable :: () => TypeExpression db (null ty) -> ColumnTypeExpression db (NoDef :=> Null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nullable :: forall (db :: SchemasType) (null :: PGType -> NullType) (ty :: PGType). TypeExpression db (null ty) -> ColumnTypeExpression db ('NoDef :=> 'Null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nulltypeFrom :: NullTyped db (NullPG hask) => TypeExpression db (NullPG hask)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: nulltypeFrom :: forall hask (db :: SchemasType). NullTyped db (NullPG hask) => TypeExpression db (NullPG hask)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numeric :: () => TypeExpression db (null PGnumeric)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numeric :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGnumeric)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numnode :: () => null PGtsquery --> null PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numnode :: forall (null :: PGType -> NullType). null 'PGtsquery --> null 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numrange :: () => TypeExpression db (null (PGrange PGnumeric))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: numrange :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGnumeric))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: offset :: () => Word64 -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: offset :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). Word64 -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: oid :: () => TypeExpression db (null PGoid)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: oid :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGoid)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: one :: () => f x -> NP f (x : ([] :: [k]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: one :: forall k f (x :: k). f x -> NP f '[x]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: orderBy :: OrderBy expr grp => [SortExpression grp lat with db params from] -> expr lat with db params from -> expr lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: orderBy :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). OrderBy expr grp => [SortExpression grp lat with db params from] -> expr lat with db params from -> expr lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: param :: (NullTyped db ty, HasParameter n params ty) => Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: param :: forall (n :: Nat) (ty :: NullType) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (grp :: Grouping). (NullTyped db ty, HasParameter n params ty) => Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: parameter :: HasParameter n params ty => TypeExpression db ty -> Expression grp lat with db params from ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: parameter :: forall (db :: SchemasType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (from :: FromType). HasParameter n params ty => TypeExpression db ty -> Expression grp lat with db params from ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: partitionBy :: SListI bys => NP (Expression grp lat with db params from) bys -> WindowDefinition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: partitionBy :: forall (bys :: [NullType]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). SListI bys => NP (Expression grp lat with db params from) bys -> WindowDefinition grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Distincts :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (xs :: [NullType]). () => () => NP (Expression Ungrouped lat with db params from) xs -> AggregateArg xs lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pattern Returning_ :: SListI row => NP (Aliased (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params from)) row -> ReturningClause with db params from row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: percentRank :: WinFun0 (NotNull PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: percentRank :: WinFun0 ('NotNull 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pgtype :: PGTyped db ty => TypeExpression db (null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pgtype :: forall (null :: PGType -> NullType). PGTyped db ty => TypeExpression db (null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pgtypeFrom :: PGTyped db (PG hask) => TypeExpression db (null (PG hask))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pgtypeFrom :: forall hask (db :: SchemasType) (null :: PGType -> NullType). PGTyped db (PG hask) => TypeExpression db (null (PG hask))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: phraseToTSquery :: () => null PGtext --> null PGtsquery
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: phraseToTSquery :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtsquery
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: plainToTSquery :: () => null PGtext --> null PGtsquery
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: plainToTSquery :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtsquery
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqAndThen :: (IndexedMonadTrans t, Monad m) => (y -> t j k1 m z) -> (x -> t i j m y) -> x -> t i k1 m z
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqAndThen :: forall (m :: Type -> Type) y (j :: k) (k1 :: k) z x (i :: k). (IndexedMonadTrans t, Monad m) => (y -> t j k1 m z) -> (x -> t i j m y) -> x -> t i k1 m z
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqAp :: (IndexedMonadTrans t, Monad m) => t i j m (x -> y) -> t j k1 m x -> t i k1 m y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqAp :: forall (m :: Type -> Type) (i :: k) (j :: k) x y (k1 :: k). (IndexedMonadTrans t, Monad m) => t i j m (x -> y) -> t j k1 m x -> t i k1 m y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqBind :: (IndexedMonadTrans t, Monad m) => (x -> t j k1 m y) -> t i j m x -> t i k1 m y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqBind :: forall (m :: Type -> Type) x (j :: k) (k1 :: k) y (i :: k). (IndexedMonadTrans t, Monad m) => (x -> t j k1 m y) -> t i j m x -> t i k1 m y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqJoin :: (IndexedMonadTrans t, Monad m) => t i j m (t j k1 m y) -> t i k1 m y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqJoin :: forall (m :: Type -> Type) (i :: k) (j :: k) (k1 :: k) y. (IndexedMonadTrans t, Monad m) => t i j m (t j k1 m y) -> t i k1 m y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqThen :: (IndexedMonadTrans t, Monad m) => t j k1 m y -> t i j m x -> t i k1 m y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: pqThen :: forall (m :: Type -> Type) (j :: k) (k1 :: k) y (i :: k) x. (IndexedMonadTrans t, Monad m) => t j k1 m y -> t i j m x -> t i k1 m y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: primaryKey :: (Has sch db schema, Has tab schema (Table table), HasAll aliases (TableToColumns table) subcolumns, AllNotNull subcolumns) => NP Alias aliases -> TableConstraintExpression sch tab db (PrimaryKey aliases)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: primaryKey :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (aliases :: [Symbol]) (subcolumns :: [(Symbol, ColumnType)]). (Has sch db schema, Has tab schema ('Table table), HasAll aliases (TableToColumns table) subcolumns, AllNotNull subcolumns) => NP Alias aliases -> TableConstraintExpression sch tab db ('PrimaryKey aliases)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: query :: (GenericParams db params x xs, GenericRow row y ys) => Query ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db params row -> Statement db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: query :: forall (db :: SchemasType) (params :: [NullType]) x (xs :: [Type]) (row :: [(Symbol, NullType)]) y (ys :: RecordCode). (GenericParams db params x xs, GenericRow row y ys) => Query ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db params row -> Statement db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: queryStatement :: () => Query ([] :: [(Symbol, RowType)]) with db params columns -> Manipulation with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: queryStatement :: forall (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query ('[] :: [(Symbol, RowType)]) with db params columns -> Manipulation with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: queryTree :: () => null PGtsquery --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: queryTree :: forall (null :: PGType -> NullType). null 'PGtsquery --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: quot_ :: In int PGIntegral => Operator (null int) (null int) (null int)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: quot_ :: forall (int :: PGType) (null :: PGType -> NullType). In int PGIntegral => Operator (null int) (null int) (null int)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: range :: () => TypeExpression db (null (PGrange ty)) -> Range (Expression grp lat with db params from (NotNull ty)) -> Expression grp lat with db params from (null (PGrange ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: range :: forall (db :: SchemasType) (null :: PGType -> NullType) (ty :: PGType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (params :: [NullType]) (from :: FromType). TypeExpression db (null ('PGrange ty)) -> Range (Expression grp lat with db params from ('NotNull ty)) -> Expression grp lat with db params from (null ('PGrange ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rangeMerge :: () => (null (PGrange ty) : (null (PGrange ty) : ([] :: [NullType]))) ---> null (PGrange ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rangeMerge :: forall (null :: PGType -> NullType) (ty :: PGType). '[null ('PGrange ty), null ('PGrange ty)] ---> null ('PGrange ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rank :: WinFun0 (NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rank :: WinFun0 ('NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: real :: () => TypeExpression db (null PGfloat4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: real :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGfloat4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: record :: () => TypeExpression db (null (PGcomposite record))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: record :: forall (db :: SchemasType) (null :: PGType -> NullType) (record :: RowType). TypeExpression db (null ('PGcomposite record))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrAvgX :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrAvgX :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrAvgY :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrAvgY :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrCount :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrCount :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrIntercept :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrIntercept :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrR2 :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrR2 :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSlope :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSlope :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSxx :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSxx :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSxy :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSxy :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSyy :: Aggregate arg expr => arg (null PGfloat8 : (null PGfloat8 : ([] :: [NullType]))) lat with db params from -> expr lat with db params from (Null PGfloat8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: regrSyy :: forall (null :: PGType -> NullType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null 'PGfloat8, null 'PGfloat8] lat with db params from -> expr lat with db params from ('Null 'PGfloat8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rem_ :: In int PGIntegral => Operator (null int) (null int) (null int)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rem_ :: forall (int :: PGType) (null :: PGType -> NullType). In int PGIntegral => Operator (null int) (null int) (null int)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: renameColumn :: (KnownSymbol column0, KnownSymbol column1, Has sch db schema, Has tab schema (Table (constraints :=> columns))) => Alias column0 -> Alias column1 -> AlterTable sch tab db (constraints :=> Rename column0 column1 columns)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: renameColumn :: forall (column0 :: Symbol) (column1 :: Symbol) (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (constraints :: TableConstraints) (columns :: ColumnsType). (KnownSymbol column0, KnownSymbol column1, Has sch db schema, Has tab schema ('Table (constraints :=> columns))) => Alias column0 -> Alias column1 -> AlterTable sch tab db (constraints :=> Rename column0 column1 columns)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: renderAliased :: () => (forall (ty :: k). () => expression ty -> ByteString) -> Aliased expression aliased -> ByteString
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: renderAliased :: forall k expression (aliased :: (Symbol, k)). (forall (ty :: k). () => expression ty -> ByteString) -> Aliased expression aliased -> ByteString
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuter :: () => JoinItem lat with db params left right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuter :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (left :: FromType) (right :: FromType). JoinItem lat with db params left right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuterJoin :: () => FromClause lat with db params right -> Condition Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) right)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuterJoin :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (right :: FromType) (left :: [(Symbol, RowType)]). FromClause lat with db params right -> Condition 'Ungrouped lat with db params (Join left right) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) right)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuterJoinLateral :: () => Aliased (Query (Join lat left) with db params) query -> Condition Ungrouped lat with db params (Join left (query : ([] :: [(Symbol, RowType)]))) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) (query : ([] :: [(Symbol, RowType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rightOuterJoinLateral :: forall (lat :: [(Symbol, RowType)]) (left :: [(Symbol, RowType)]) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query (Join lat left) with db params) query -> Condition 'Ungrouped lat with db params (Join left '[query]) -> FromClause lat with db params left -> FromClause lat with db params (Join (NullifyFrom left) '[query])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rollback :: () => Manipulation_ db () ()
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rollback :: forall (db :: SchemasType). Manipulation_ db () ()
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: round_ :: In frac PGFloating => null frac --> null frac
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: round_ :: forall (frac :: PGType) (null :: PGType -> NullType). In frac PGFloating => null frac --> null frac
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: row :: SListI row => NP (Aliased (Expression grp lat with db params from)) row -> Expression grp lat with db params from (null (PGcomposite row))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: row :: forall (row :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (null :: PGType -> NullType). SListI row => NP (Aliased (Expression grp lat with db params from)) row -> Expression grp lat with db params from (null ('PGcomposite row))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowNumber :: WinFun0 (NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowNumber :: WinFun0 ('NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowStar :: Has tab from row => Alias tab -> Expression grp lat with db params from (null (PGcomposite row))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowStar :: forall (tab :: Symbol) (from :: [(Symbol, RowType)]) (row :: RowType) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (null :: PGType -> NullType). Has tab from row => Alias tab -> Expression grp lat with db params from (null ('PGcomposite row))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowToJson :: () => null (PGcomposite ty) --> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowToJson :: forall (null :: PGType -> NullType) (ty :: RowType). null ('PGcomposite ty) --> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowValue :: (PG y ~ PGcomposite row, SListI row) => DecodeRow row y -> StateT ByteString (Except Text) y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: rowValue :: forall y (row :: RowType). (PG y ~ 'PGcomposite row, SListI row) => DecodeRow row y -> StateT ByteString (Except Text) y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runDecodeRow :: () => DecodeRow row y -> NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row -> Either Text y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runDecodeRow :: forall (row :: RowType) y. DecodeRow row y -> NP (K (Maybe ByteString) :: (Symbol, NullType) -> Type) row -> Either Text y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runMigrations :: Migratory def run => Path (Migration def) db0 db1 -> run db0 db1
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runMigrations :: forall (db0 :: k) (db1 :: k). Migratory def run => Path (Migration def) db0 db1 -> run db0 db1
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runPQ :: Functor m => PQ db0 db1 m x -> K Connection db0 -> m (x, K Connection db1)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: runPQ :: forall m (db0 :: SchemasType) (db1 :: SchemasType) x. Functor m => PQ db0 db1 m x -> K Connection db0 -> m (x, K Connection db1)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: select :: (SListI row, row ~ (x : xs)) => Selection grp lat with db params from row -> TableExpression grp lat with db params from -> Query lat with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: select :: forall (row :: [(Symbol, NullType)]) (x :: (Symbol, NullType)) (xs :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). (SListI row, row ~ (x : xs)) => Selection grp lat with db params from row -> TableExpression grp lat with db params from -> Query lat with db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinct :: (SListI columns, columns ~ (col : cols)) => Selection grp lat with db params from columns -> TableExpression grp lat with db params from -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinct :: forall (columns :: [(Symbol, NullType)]) (col :: (Symbol, NullType)) (cols :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: [(Symbol, RowType)]). (SListI columns, columns ~ (col : cols)) => Selection grp lat with db params from columns -> TableExpression grp lat with db params from -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinctOn :: (SListI columns, columns ~ (col : cols)) => [SortExpression grp lat with db params from] -> Selection grp lat with db params from columns -> TableExpression grp lat with db params from -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinctOn :: forall (columns :: [(Symbol, NullType)]) (col :: (Symbol, NullType)) (cols :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). (SListI columns, columns ~ (col : cols)) => [SortExpression grp lat with db params from] -> Selection grp lat with db params from columns -> TableExpression grp lat with db params from -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinctOn_ :: (SListI columns, columns ~ (col : cols)) => [SortExpression grp lat with db params from] -> NP (Aliased (Expression grp lat with db params from)) columns -> TableExpression grp lat with db params from -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinctOn_ :: forall (columns :: [(Symbol, NullType)]) (col :: (Symbol, NullType)) (cols :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). (SListI columns, columns ~ (col : cols)) => [SortExpression grp lat with db params from] -> NP (Aliased (Expression grp lat with db params from)) columns -> TableExpression grp lat with db params from -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinct_ :: (SListI columns, columns ~ (col : cols)) => NP (Aliased (Expression grp lat with db params from)) columns -> TableExpression grp lat with db params from -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: selectDistinct_ :: forall (columns :: [(Symbol, NullType)]) (col :: (Symbol, NullType)) (cols :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). (SListI columns, columns ~ (col : cols)) => NP (Aliased (Expression grp lat with db params from)) columns -> TableExpression grp lat with db params from -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: select_ :: (SListI row, row ~ (x : xs)) => NP (Aliased (Expression grp lat with db params from)) row -> TableExpression grp lat with db params from -> Query lat with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: select_ :: forall (row :: [(Symbol, NullType)]) (x :: (Symbol, NullType)) (xs :: [(Symbol, NullType)]) (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). (SListI row, row ~ (x : xs)) => NP (Aliased (Expression grp lat with db params from)) row -> TableExpression grp lat with db params from -> Query lat with db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial :: () => ColumnTypeExpression db (Def :=> NotNull PGint4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial2 :: () => ColumnTypeExpression db (Def :=> NotNull PGint2)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial2 :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint2)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial4 :: () => ColumnTypeExpression db (Def :=> NotNull PGint4)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial4 :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint4)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial8 :: () => ColumnTypeExpression db (Def :=> NotNull PGint8)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: serial8 :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint8)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setDefault :: () => Expression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db ([] :: [NullType]) ([] :: [(Symbol, RowType)]) ty -> AlterColumn db (constraint :=> ty) (Def :=> ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setDefault :: forall (db :: SchemasType) (ty :: NullType) (constraint :: Optionality). Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) ('[] :: [(Symbol, RowType)]) db ('[] :: [NullType]) ('[] :: [(Symbol, RowType)]) ty -> AlterColumn db (constraint :=> ty) ('Def :=> ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setFunction :: (Has sch db schema, Has fun schema (Function ((ty : ([] :: [NullType])) :=> ReturnsTable row))) => QualifiedAlias sch fun -> SetFun db ty (fun ::: row)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setFunction :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (fun :: Symbol) (ty :: NullType) (row :: RowType). (Has sch db schema, Has fun schema ('Function ('[ty] :=> 'ReturnsTable row))) => QualifiedAlias sch fun -> SetFun db ty (fun ::: row)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setFunctionN :: (Has sch db schema, Has fun schema (Function (tys :=> ReturnsTable row)), SListI tys) => QualifiedAlias sch fun -> SetFunN db tys (fun ::: row)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setFunctionN :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (fun :: Symbol) (tys :: [NullType]) (row :: RowType). (Has sch db schema, Has fun schema ('Function (tys :=> 'ReturnsTable row)), SListI tys) => QualifiedAlias sch fun -> SetFunN db tys (fun ::: row)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setNotNull :: () => AlterColumn db (constraint :=> Null ty) (constraint :=> NotNull ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setNotNull :: forall (db :: SchemasType) (constraint :: Optionality) (ty :: PGType). AlterColumn db (constraint :=> 'Null ty) (constraint :=> 'NotNull ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setWeight :: () => (null PGtsvector : (null (PGchar 1) : ([] :: [NullType]))) ---> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: setWeight :: forall (null :: PGType -> NullType). '[null 'PGtsvector, null ('PGchar 1)] ---> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: singleton :: () => x -> Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: singleton :: x -> Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: smallint :: () => TypeExpression db (null PGint2)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: smallint :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGint2)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: smallserial :: () => ColumnTypeExpression db (Def :=> NotNull PGint2)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: smallserial :: forall (db :: SchemasType). ColumnTypeExpression db ('Def :=> 'NotNull 'PGint2)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: spgist :: IndexMethod Spgist
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: spgist :: IndexMethod 'Spgist
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddev :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddev :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddevPop :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddevPop :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddevSamp :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: stddevSamp :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: strip :: () => null PGtsvector --> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: strip :: forall (null :: PGType -> NullType). null 'PGtsvector --> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subAll :: () => Expression grp lat with db params from ty1 -> Operator ty1 ty2 (Null PGbool) -> Query (Join lat from) with db params ((col ::: ty2) : ([] :: [(Symbol, NullType)])) -> Condition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subAll :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty1 :: NullType) (ty2 :: NullType) (col :: Symbol). Expression grp lat with db params from ty1 -> Operator ty1 ty2 ('Null 'PGbool) -> Query (Join lat from) with db params '[col ::: ty2] -> Condition grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subAny :: () => Expression grp lat with db params from ty1 -> Operator ty1 ty2 (Null PGbool) -> Query (Join lat from) with db params ((col ::: ty2) : ([] :: [(Symbol, NullType)])) -> Condition grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subAny :: forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (ty1 :: NullType) (ty2 :: NullType) (col :: Symbol). Expression grp lat with db params from ty1 -> Operator ty1 ty2 ('Null 'PGbool) -> Query (Join lat from) with db params '[col ::: ty2] -> Condition grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subquery :: () => Aliased (Query lat with db params) query -> FromClause lat with db params (query : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: subquery :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (query :: (Symbol, RowType)). Aliased (Query lat with db params) query -> FromClause lat with db params '[query]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: sum_ :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGSum ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: sum_ :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGSum ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: table :: (Has sch db schema, Has tab schema (Table table)) => Aliased (QualifiedAlias sch) (alias ::: tab) -> FromClause lat with db params ((alias ::: TableToRow table) : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: table :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (alias :: Symbol) (lat :: FromType) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has tab schema ('Table table)) => Aliased (QualifiedAlias sch) (alias ::: tab) -> FromClause lat with db params '[alias ::: TableToRow table]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: text :: () => TypeExpression db (null PGtext)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: text :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtext)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: time :: () => TypeExpression db (null PGtime)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: time :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtime)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timeWithTimeZone :: () => TypeExpression db (null PGtimetz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timeWithTimeZone :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtimetz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestamp :: () => TypeExpression db (null PGtimestamp)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestamp :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtimestamp)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestampWithTimeZone :: () => TypeExpression db (null PGtimestamptz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestampWithTimeZone :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtimestamptz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestamptz :: () => TypeExpression db (null PGtimestamptz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timestamptz :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtimestamptz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timetz :: () => TypeExpression db (null PGtimetz)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: timetz :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtimetz)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toJson :: () => null ty --> null PGjson
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toJson :: forall (null :: PGType -> NullType) (ty :: PGType). null ty --> null 'PGjson
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toJsonb :: () => null ty --> null PGjsonb
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toJsonb :: forall (null :: PGType -> NullType) (ty :: PGType). null ty --> null 'PGjsonb
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toTSquery :: () => null PGtext --> null PGtsquery
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toTSquery :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtsquery
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toTSvector :: In ty (PGtext : (PGjson : (PGjsonb : ([] :: [PGType])))) => null ty --> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: toTSvector :: forall (ty :: PGType) (null :: PGType -> NullType). In ty '[ 'PGtext, 'PGjson, 'PGjsonb] => null ty --> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: true :: () => Expr (null PGbool)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: true :: forall (null :: PGType -> NullType). Expr (null 'PGbool)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: trunc :: In frac PGFloating => null frac --> null frac
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: trunc :: forall (frac :: PGType) (null :: PGType -> NullType). In frac PGFloating => null frac --> null frac
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsDelete :: () => (null PGtsvector : (null (PGvararray (NotNull PGtext)) : ([] :: [NullType]))) ---> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsDelete :: forall (null :: PGType -> NullType). '[null 'PGtsvector, null ('PGvararray ('NotNull 'PGtext))] ---> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsFilter :: () => (null PGtsvector : (null (PGvararray (NotNull (PGchar 1))) : ([] :: [NullType]))) ---> null PGtsvector
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsFilter :: forall (null :: PGType -> NullType). '[null 'PGtsvector, null ('PGvararray ('NotNull ('PGchar 1)))] ---> null 'PGtsvector
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsHeadline :: In document (PGtext : (PGjson : (PGjsonb : ([] :: [PGType])))) => (null document : (null PGtsquery : ([] :: [NullType]))) ---> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsHeadline :: forall (document :: PGType) (null :: PGType -> NullType). In document '[ 'PGtext, 'PGjson, 'PGjsonb] => '[null document, null 'PGtsquery] ---> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsquery :: () => TypeExpression db (null PGtsquery)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsquery :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtsquery)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsrange :: () => TypeExpression db (null (PGrange PGtimestamp))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsrange :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGtimestamp))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tstzrange :: () => TypeExpression db (null (PGrange PGtimestamptz))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tstzrange :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null ('PGrange 'PGtimestamptz))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsvector :: () => TypeExpression db (null PGtsvector)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsvector :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGtsvector)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsvectorLength :: () => null PGtsvector --> null PGint4
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: tsvectorLength :: forall (null :: PGType -> NullType). null 'PGtsvector --> null 'PGint4
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (:::) (alias :: Symbol) (ty :: k) = (,) alias ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (alias :: Symbol) ::: (ty :: k) = '(alias, ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Condition (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) = Expression grp lat with db params from Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Condition (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) = Expression grp lat with db params from 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type ForeignKeyed (db :: [(Symbol, [(Symbol, SchemumType)])]) (sch :: Symbol) (schema :: [(Symbol, SchemumType)]) (child :: Symbol) (parent :: Symbol) (table :: TableType) (reftable :: TableType) (columns :: [Symbol]) (refcolumns :: [Symbol]) (constraints :: TableConstraints) (cols :: ColumnsType) (reftys :: [(Symbol, ColumnType)]) (tys :: [(Symbol, ColumnType)]) = (Has sch db schema, Has child schema Table table, Has parent schema Table reftable, HasAll columns TableToColumns table tys, reftable ~ constraints :=> cols, HasAll refcolumns cols reftys, AllZip SamePGType tys reftys, Uniquely refcolumns constraints)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type ForeignKeyed (db :: [(Symbol, [(Symbol, SchemumType)])]) (sch0 :: Symbol) (sch1 :: Symbol) (schema0 :: [(Symbol, SchemumType)]) (schema1 :: [(Symbol, SchemumType)]) (child :: Symbol) (parent :: Symbol) (table :: TableType) (reftable :: TableType) (columns :: [Symbol]) (refcolumns :: [Symbol]) (constraints :: TableConstraints) (cols :: ColumnsType) (reftys :: [(Symbol, ColumnType)]) (tys :: [(Symbol, ColumnType)]) = (Has sch0 db schema0, Has sch1 db schema1, Has parent schema0 'Table reftable, Has child schema1 'Table table, HasAll columns TableToColumns table tys, reftable ~ constraints :=> cols, HasAll refcolumns cols reftys, AllZip SamePGType tys reftys, Uniquely refcolumns constraints)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (-->) (x :: NullType) (y :: NullType) = forall (db :: SchemasType). () => Fun db x y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (x :: NullType) --> (y :: NullType) = forall (db :: SchemasType). () => Fun db x y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (--->) (xs :: [NullType]) (y :: NullType) = forall (db :: SchemasType). () => FunN db xs y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (xs :: [NullType]) ---> (y :: NullType) = forall (db :: SchemasType). () => FunN db xs y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type HasUnique (alias :: Symbol) (fields :: [(Symbol, k)]) (field :: k) = fields ~ alias ::: field : ([] :: [(Symbol, k)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type HasUnique (alias :: Symbol) (fields :: [(Symbol, k)]) (field :: k) = fields ~ '[alias ::: field]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type MigrationsTable = "migrations_unique_name" ::: Unique "name" : ([] :: [Symbol]) : ([] :: [(Symbol, TableConstraint)]) :=> "name" ::: NoDef :=> NotNull PGtext : "executed_at" ::: Def :=> NotNull PGtimestamptz : ([] :: [(Symbol, (Optionality, NullType))])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type MigrationsTable = '["migrations_unique_name" ::: 'Unique '["name"]] :=> '["name" ::: 'NoDef :=> 'NotNull 'PGtext, "executed_at" ::: 'Def :=> 'NotNull 'PGtimestamptz]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGFloating = PGfloat4 : PGfloat8 : PGnumeric : ([] :: [PGType])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGFloating = '[ 'PGfloat4, 'PGfloat8, 'PGnumeric]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGIntegral = PGint2 : PGint4 : PGint8 : ([] :: [PGType])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGIntegral = '[ 'PGint2, 'PGint4, 'PGint8]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGJsonKey = PGint2 : PGint4 : PGtext : ([] :: [PGType])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGJsonKey = '[ 'PGint2, 'PGint4, 'PGtext]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGJsonType = PGjson : PGjsonb : ([] :: [PGType])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGJsonType = '[ 'PGjson, 'PGjsonb]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGNum = PGint2 : PGint4 : PGint8 : PGnumeric : PGfloat4 : PGfloat8 : ([] :: [PGType])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type PGNum = '[ 'PGint2, 'PGint4, 'PGint8, 'PGnumeric, 'PGfloat4, 'PGfloat8]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (-|->) (arg :: NullType) (set :: (Symbol, RowType)) = forall (db :: SchemasType). () => SetFun db arg set
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (arg :: NullType) -|-> (set :: (Symbol, RowType)) = forall (db :: SchemasType). () => SetFun db arg set
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (--|->) (arg :: [NullType]) (set :: (Symbol, RowType)) = forall (db :: SchemasType). () => SetFunN db arg set
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (arg :: [NullType]) --|-> (set :: (Symbol, RowType)) = forall (db :: SchemasType). () => SetFunN db arg set
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type JsonPopulateFunction (fun :: Symbol) (json :: PGType) = forall (db :: SchemasType) (row :: RowType) (lat :: FromType) (with :: FromType) (params :: [NullType]). In json PGJsonType => TypeExpression db NotNull PGcomposite row -> Expression Ungrouped lat with db params ([] :: [(Symbol, RowType)]) NotNull json -> FromClause lat with db params fun ::: row : ([] :: [(Symbol, RowType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type JsonPopulateFunction (fun :: Symbol) (json :: PGType) = forall (db :: SchemasType) (row :: RowType) (lat :: FromType) (with :: FromType) (params :: [NullType]). In json PGJsonType => TypeExpression db 'NotNull 'PGcomposite row -> Expression 'Ungrouped lat with db params '[] :: [(Symbol, RowType)] 'NotNull json -> FromClause lat with db params '[fun ::: row]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Updatable (table :: TableType) (columns :: [(Symbol, a)]) = (All (HasIn TableToColumns table :: (Symbol, a) -> Constraint) columns, AllUnique columns, SListI TableToColumns table)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type Updatable (table :: TableType) (columns :: [(Symbol, a)]) = (All HasIn TableToColumns table :: (Symbol, a) -> Constraint columns, AllUnique columns, SListI TableToColumns table)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (--#->) (xs :: [NullType]) (y :: NullType) = forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). () => WindowArg grp xs lat with db params from -> WindowFunction grp lat with db params from y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: type (xs :: [NullType]) --#-> (y :: NullType) = forall (grp :: Grouping) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType). () => WindowArg grp xs lat with db params from -> WindowFunction grp lat with db params from y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typedef :: (Has sch db schema, Has td schema (Typedef ty)) => QualifiedAlias sch td -> TypeExpression db (null ty)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typedef :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (td :: Symbol) (ty :: PGType) (null :: PGType -> NullType). (Has sch db schema, Has td schema ('Typedef ty)) => QualifiedAlias sch td -> TypeExpression db (null ty)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typetable :: (Has sch db schema, Has tab schema (Table table)) => QualifiedAlias sch tab -> TypeExpression db (null (PGcomposite (TableToRow table)))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typetable :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (null :: PGType -> NullType). (Has sch db schema, Has tab schema ('Table table)) => QualifiedAlias sch tab -> TypeExpression db (null ('PGcomposite (TableToRow table)))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typeview :: (Has sch db schema, Has vw schema (View view)) => QualifiedAlias sch vw -> TypeExpression db (null (PGcomposite view))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: typeview :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (vw :: Symbol) (view :: RowType) (null :: PGType -> NullType). (Has sch db schema, Has vw schema ('View view)) => QualifiedAlias sch vw -> TypeExpression db (null ('PGcomposite view))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unK :: () => K a b -> a
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unK :: forall k a (b :: k). K a b -> a
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: union :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: union :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unionAll :: () => Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unionAll :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (columns :: RowType). Query lat with db params columns -> Query lat with db params columns -> Query lat with db params columns
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unique :: (Has sch db schema, Has tab schema (Table table), HasAll aliases (TableToRow table) subcolumns) => NP Alias aliases -> TableConstraintExpression sch tab db (Unique aliases)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unique :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab :: Symbol) (table :: TableType) (aliases :: [Symbol]) (subcolumns :: [(Symbol, NullType)]). (Has sch db schema, Has tab schema ('Table table), HasAll aliases (TableToRow table) subcolumns) => NP Alias aliases -> TableConstraintExpression sch tab db ('Unique aliases)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unnest :: () => null (PGvararray ty) -|-> ("unnest" ::: (("unnest" ::: ty) : ([] :: [(Symbol, NullType)])))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unnest :: forall (null :: PGType -> NullType) (ty :: NullType). null ('PGvararray ty) -|-> ("unnest" ::: '["unnest" ::: ty])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeBinaryOp :: () => ByteString -> Operator ty0 ty1 ty2
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeBinaryOp :: forall (ty0 :: NullType) (ty1 :: NullType) (ty2 :: NullType). ByteString -> Operator ty0 ty1 ty2
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunction :: () => ByteString -> x --> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunction :: forall (x :: NullType) (y :: NullType). ByteString -> x --> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunctionN :: SListI xs => ByteString -> xs ---> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunctionN :: forall (xs :: [NullType]) (y :: NullType). SListI xs => ByteString -> xs ---> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunctionVar :: () => ByteString -> FunctionVar x0 x1 y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeFunctionVar :: forall (x0 :: NullType) (x1 :: NullType) (y :: NullType). ByteString -> FunctionVar x0 x1 y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeLeftOp :: () => ByteString -> x --> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeLeftOp :: forall (x :: NullType) (y :: NullType). ByteString -> x --> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeNotNull :: () => Null ty --> NotNull ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeNotNull :: forall (ty :: PGType). 'Null ty --> 'NotNull ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeRightOp :: () => ByteString -> x --> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeRightOp :: forall (x :: NullType) (y :: NullType). ByteString -> x --> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeSetFunction :: KnownSymbol fun => ByteString -> ty -|-> (fun ::: row)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeSetFunction :: forall (fun :: Symbol) (ty :: NullType) (row :: RowType). KnownSymbol fun => ByteString -> ty -|-> (fun ::: row)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeSetFunctionN :: (SListI tys, KnownSymbol fun) => ByteString -> tys --|-> (fun ::: row)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeSetFunctionN :: forall (fun :: Symbol) (tys :: [NullType]) (row :: RowType). (SListI tys, KnownSymbol fun) => ByteString -> tys --|-> (fun ::: row)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeWindowFunction1 :: () => ByteString -> x -#-> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeWindowFunction1 :: forall (x :: NullType) (y :: NullType). ByteString -> x -#-> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeWindowFunctionN :: SListI xs => ByteString -> xs --#-> y
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: unsafeWindowFunctionN :: forall (xs :: [NullType]) (y :: NullType). SListI xs => ByteString -> xs --#-> y
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: update :: (Has sch db schema, Has tab schema (Table table), Updatable table updates, SListI row) => QualifiedAlias sch tab -> NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)]))))) updates -> Condition Ungrouped ([] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) -> ReturningClause with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) row -> Manipulation with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: update :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (updates :: [(Symbol, (Optionality, NullType))]) (row :: [(Symbol, NullType)]) (tab :: Symbol) (with :: FromType) (params :: [NullType]) (from :: [(Symbol, RowType)]). (Has sch db schema, Has tab0 schema ('Table table), Updatable table updates, SListI row) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : from)))) updates -> UsingClause with db params from -> Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : from) -> ReturningClause with db params ((tab ::: TableToRow table) : from) row -> Manipulation with db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: update_ :: (Has sch db schema, Has tab schema (Table table), Updatable table updates) => QualifiedAlias sch tab -> NP (Aliased (Optional (Expression Ungrouped ([] :: [(Symbol, RowType)]) ([] :: [(Symbol, RowType)]) db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)]))))) updates -> Condition Ungrouped ([] :: [(Symbol, RowType)]) with db params ((tab ::: TableToRow table) : ([] :: [(Symbol, RowType)])) -> Manipulation with db params ([] :: [(Symbol, NullType)])
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: update_ :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (tab0 :: Symbol) (table :: TableType) (tab :: Symbol) (updates :: [(Symbol, (Optionality, NullType))]) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has tab0 schema ('Table table), KnownSymbol tab, Updatable table updates) => Aliased (QualifiedAlias sch) (tab ::: tab0) -> NP (Aliased (Optional (Expression 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params '[tab ::: TableToRow table]))) updates -> Condition 'Ungrouped ('[] :: [(Symbol, RowType)]) with db params '[tab ::: TableToRow table] -> Manipulation with db params ('[] :: [(Symbol, NullType)])
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upper :: () => null PGtext --> null PGtext
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upper :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtext
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperBound :: () => null (PGrange ty) --> Null ty
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperBound :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null ty
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperInc :: () => null (PGrange ty) --> Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperInc :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperInf :: () => null (PGrange ty) --> Null PGbool
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: upperInf :: forall (null :: PGType -> NullType) (ty :: PGType). null ('PGrange ty) --> 'Null 'PGbool
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: usingConnectionPool :: MonadUnliftIO io => Pool (K Connection db) -> PQ db db io x -> io x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: usingConnectionPool :: forall io (db :: SchemasType) x. MonadUnliftIO io => Pool (K Connection db) -> PQ db db io x -> io x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: uuid :: () => TypeExpression db (null PGuuid)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: uuid :: forall (db :: SchemasType) (null :: PGType -> NullType). TypeExpression db (null 'PGuuid)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: values :: SListI cols => NP (Aliased (Expression Ungrouped lat with db params ([] :: [(Symbol, RowType)]))) cols -> [NP (Aliased (Expression Ungrouped lat with db params ([] :: [(Symbol, RowType)]))) cols] -> Query lat with db params cols
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: values :: forall (cols :: [(Symbol, NullType)]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). SListI cols => NP (Aliased (Expression 'Ungrouped lat with db params ('[] :: [(Symbol, RowType)]))) cols -> [NP (Aliased (Expression 'Ungrouped lat with db params ('[] :: [(Symbol, RowType)]))) cols] -> Query lat with db params cols
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: values_ :: SListI cols => NP (Aliased (Expression Ungrouped lat with db params ([] :: [(Symbol, RowType)]))) cols -> Query lat with db params cols
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: values_ :: forall (cols :: [(Symbol, NullType)]) (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]). SListI cols => NP (Aliased (Expression 'Ungrouped lat with db params ('[] :: [(Symbol, RowType)]))) cols -> Query lat with db params cols
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varChar :: KnownNat n => Text -> Maybe (VarChar n)
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varChar :: forall (n :: Nat). KnownNat n => Text -> Maybe (VarChar n)
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varPop :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varPop :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varSamp :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varSamp :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: vararray :: () => TypeExpression db pg -> TypeExpression db (null (PGvararray pg))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: vararray :: forall (db :: SchemasType) (pg :: NullType) (null :: PGType -> NullType). TypeExpression db pg -> TypeExpression db (null ('PGvararray pg))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varchar :: (KnownNat n, 1 <= n) => TypeExpression db (null (PGvarchar n))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: varchar :: forall (n :: Nat) (db :: SchemasType) (null :: PGType -> NullType). (KnownNat n, 1 <= n) => TypeExpression db (null ('PGvarchar n))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: variance :: Aggregate arg expr => arg (null ty : ([] :: [NullType])) lat with db params from -> expr lat with db params from (Null (PGAvg ty))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: variance :: forall (null :: PGType -> NullType) (ty :: PGType) (lat :: k) (with :: k1) (db :: k2) (params :: k3) (from :: k4). Aggregate arg expr => arg '[null ty] lat with db params from -> expr lat with db params from ('Null (PGAvg ty))
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: view :: (Has sch db schema, Has vw schema (View view)) => Aliased (QualifiedAlias sch) (alias ::: vw) -> FromClause lat with db params ((alias ::: view) : ([] :: [(Symbol, RowType)]))
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: view :: forall (sch :: Symbol) (db :: [(Symbol, [(Symbol, SchemumType)])]) (schema :: [(Symbol, SchemumType)]) (vw :: Symbol) (view :: RowType) (alias :: Symbol) (lat :: FromType) (with :: FromType) (params :: [NullType]). (Has sch db schema, Has vw schema ('View view)) => Aliased (QualifiedAlias sch) (alias ::: vw) -> FromClause lat with db params '[alias ::: view]
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: websearchToTSquery :: () => null PGtext --> null PGtsquery
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: websearchToTSquery :: forall (null :: PGType -> NullType). null 'PGtext --> null 'PGtsquery
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: where_ :: () => Condition Ungrouped lat with db params from -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: where_ :: forall (lat :: FromType) (with :: FromType) (db :: SchemasType) (params :: [NullType]) (from :: FromType) (grp :: Grouping). Condition 'Ungrouped lat with db params from -> TableExpression grp lat with db params from -> TableExpression grp lat with db params from
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: whole :: () => Range x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: whole :: Range x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: with :: With statement => Path (CommonTableExpression statement db params) with0 with1 -> statement with1 db params row -> statement with0 db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: with :: forall (db :: SchemasType) (params :: [NullType]) (with0 :: FromType) (with1 :: FromType) (row :: RowType). With statement => Path (CommonTableExpression statement db params) with0 with1 -> statement with1 db params row -> statement with0 db params row
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: withConnection :: MonadUnliftIO io => ByteString -> PQ db0 db1 io x -> io x
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: withConnection :: forall (db0 :: SchemasType) (db1 :: SchemasType) io x. MonadUnliftIO io => ByteString -> PQ db0 db1 io x -> io x
- Database.PostgreSQL.Tx.Squeal.Internal.Reexport: withRecursive :: () => Aliased (Query lat (recursive : with) db params) recursive -> Query lat (recursive : with) db params row -> Query lat with db params row
+ Database.PostgreSQL.Tx.Squeal.Internal.Reexport: withRecursive :: forall (lat :: FromType) (recursive :: (Symbol, RowType)) (with :: [(Symbol, RowType)]) (db :: SchemasType) (params :: [NullType]) (row :: RowType). Aliased (Query lat (recursive : with) db params) recursive -> Query lat (recursive : with) db params row -> Query lat with db params row
Files
- CHANGELOG.md +10/−1
- package.yaml +5/−4
- postgresql-tx-squeal.cabal +7/−6
- src/Database/PostgreSQL/Tx/Squeal.hs +188/−103
- src/Database/PostgreSQL/Tx/Squeal/Internal.hs +175/−0
CHANGELOG.md view
@@ -1,5 +1,14 @@ # Change log +## 0.2.0.0++* Updated for postgresql-tx-0.2.0.0.+* Updated `SquealM` encoding.+* Added `SquealTxM` and `SquealTxM'`.+* Updated `transactionallyRetry` to allow for retrying on a predicate.+* Added `transactionallySerializable`.+* Moved internals to an `Internal` module.+ ## 0.1.0.0 -Initial release+* Initial release
package.yaml view
@@ -1,6 +1,6 @@ name: postgresql-tx-squeal-version: 0.1.0.0-github: "simspace/postgresql-tx/squeal"+version: 0.2.0.0+github: "simspace/postgresql-tx" license: BSD3 license-file: LICENSE.md author: "Cary Robbins"@@ -23,9 +23,10 @@ - bytestring >= 0.10.10.0 && < 0.11 - generics-sop >= 0.5.1.0 && < 0.6 - postgresql-libpq >= 0.9.4.2 && < 0.10-- postgresql-tx >= 0.1.0.0 && < 0.2+- postgresql-tx >= 0.2.0.0 && < 0.3 - records-sop >= 0.1.0.3 && < 0.2-- squeal-postgresql >= 0.6.0.2 && < 0.7+- squeal-postgresql >= 0.7.0.1 && < 0.8+- unliftio >= 0.2.13 && < 0.3 library: source-dirs: src
postgresql-tx-squeal.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.33.0.+-- This file has been generated from package.yaml by hpack version 0.31.2. -- -- see: https://github.com/sol/hpack ----- hash: ec2093cdd28764a2714fde9b8bb6779e505a1ebb631618e8362b78c63e60d8ab+-- hash: e701f125cf44879463dd9939bb3949bfcb0630c866cf1314ee8a603d80a588e5 name: postgresql-tx-squeal-version: 0.1.0.0+version: 0.2.0.0 synopsis: postgresql-tx interfacing for use with squeal-postgresql. description: Please see the README on GitHub at <https://github.com/simspace/postgresql-tx#readme> category: Database@@ -27,11 +27,11 @@ source-repository head type: git location: https://github.com/simspace/postgresql-tx- subdir: squeal library exposed-modules: Database.PostgreSQL.Tx.Squeal+ Database.PostgreSQL.Tx.Squeal.Internal Database.PostgreSQL.Tx.Squeal.Internal.Reexport other-modules: Paths_postgresql_tx_squeal@@ -43,7 +43,8 @@ , bytestring >=0.10.10.0 && <0.11 , generics-sop >=0.5.1.0 && <0.6 , postgresql-libpq >=0.9.4.2 && <0.10- , postgresql-tx >=0.1.0.0 && <0.2+ , postgresql-tx >=0.2.0.0 && <0.3 , records-sop >=0.1.0.3 && <0.2- , squeal-postgresql >=0.6.0.2 && <0.7+ , squeal-postgresql >=0.7.0.1 && <0.8+ , unliftio >=0.2.13 && <0.3 default-language: Haskell2010
src/Database/PostgreSQL/Tx/Squeal.hs view
@@ -1,135 +1,191 @@-{-# LANGUAGE BlockArguments #-}+{-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE MultiParamTypeClasses #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeSynonymInstances #-}-{-# LANGUAGE UndecidableInstances #-}-{-# OPTIONS_GHC -fno-warn-orphans #-} module Database.PostgreSQL.Tx.Squeal- ( module Database.PostgreSQL.Tx.Squeal+ ( SquealEnv+ , SquealM+ , SquealTxM'(SquealTxM, fromSquealTxM)+ , SquealTxM+ , SquealConnection+ , mkSquealConnection+ , module Database.PostgreSQL.Tx.Squeal , module Database.PostgreSQL.Tx.Squeal.Internal.Reexport ) where +import Control.Exception (Exception) import Data.ByteString (ByteString)-import Database.PostgreSQL.Tx (Tx(TxEnv, tx), UnsafeTx(unsafeIOTx), TxM, unsafeRunTxM)+import Database.PostgreSQL.Tx (TxM, shouldRetryTx)+import Database.PostgreSQL.Tx.Squeal.Internal import Database.PostgreSQL.Tx.Squeal.Internal.Reexport import qualified Database.PostgreSQL.LibPQ as LibPQ import qualified Generics.SOP as SOP import qualified Generics.SOP.Record as SOP import qualified Squeal.PostgreSQL as Squeal -type SquealM db0 db1 = PQ db0 db1 TxM--unsafeSquealIOTx :: PQ db0 db1 IO a -> SquealM db0 db1 a-unsafeSquealIOTx = unsafeIOTx--unsafeSquealIOTx1- :: (x1 -> PQ db0 db1 IO a)- -> x1 -> SquealM db0 db1 a-unsafeSquealIOTx1 f x1 = unsafeSquealIOTx $ f x1--unsafeSquealIOTx2- :: (x1 -> x2 -> PQ db0 db1 IO a)- -> x1 -> x2 -> SquealM db0 db1 a-unsafeSquealIOTx2 f x1 x2 = unsafeSquealIOTx $ f x1 x2--unsafeSquealIOTx3- :: (x1 -> x2 -> x3 -> PQ db0 db1 IO a)- -> x1 -> x2 -> x3 -> SquealM db0 db1 a-unsafeSquealIOTx3 f x1 x2 x3 = unsafeSquealIOTx $ f x1 x2 x3--getRow :: LibPQ.Row -> Result y -> SquealM db db y-getRow = unsafeSquealIOTx2 Squeal.getRow+-- | Analogue of 'Squeal.getRow'.+--+-- @since 0.1.0.0+getRow :: LibPQ.Row -> Result y -> SquealTxM db y+getRow = unsafeSquealIOTxM2 Squeal.getRow -firstRow :: Result y -> SquealM db db (Maybe y)-firstRow = unsafeSquealIOTx1 Squeal.firstRow+-- | Analogue of 'Squeal.firstRow'.+--+-- @since 0.1.0.0+firstRow :: Result y -> SquealTxM db (Maybe y)+firstRow = unsafeSquealIOTxM1 Squeal.firstRow -getRows :: Result y -> SquealM db db [y]-getRows = unsafeSquealIOTx1 Squeal.getRows+-- | Analogue of 'Squeal.getRows'.+--+-- @since 0.1.0.0+getRows :: Result y -> SquealTxM db [y]+getRows = unsafeSquealIOTxM1 Squeal.getRows -nextRow :: LibPQ.Row -> Result y -> LibPQ.Row -> SquealM db db (Maybe (LibPQ.Row, y))-nextRow = unsafeSquealIOTx3 Squeal.nextRow+-- | Analogue of 'Squeal.nextRow'.+--+-- @since 0.1.0.0+nextRow :: LibPQ.Row -> Result y -> LibPQ.Row -> SquealTxM db (Maybe (LibPQ.Row, y))+nextRow = unsafeSquealIOTxM3 Squeal.nextRow -ntuples :: Result y -> SquealM db db LibPQ.Row-ntuples = unsafeSquealIOTx1 Squeal.ntuples+-- | Analogue of 'Squeal.ntuples'.+--+-- @since 0.1.0.0+ntuples :: Result y -> SquealTxM db LibPQ.Row+ntuples = unsafeSquealIOTxM1 Squeal.ntuples -nfields :: Result y -> SquealM db db LibPQ.Column-nfields = unsafeSquealIOTx1 Squeal.nfields+-- | Analogue of 'Squeal.nfields'.+--+-- @since 0.1.0.0+nfields :: Result y -> SquealTxM db LibPQ.Column+nfields = unsafeSquealIOTxM1 Squeal.nfields -resultStatus :: Result y -> SquealM db db ExecStatus-resultStatus = unsafeSquealIOTx1 Squeal.resultStatus+-- | Analogue of 'Squeal.resultStatus'.+--+-- @since 0.1.0.0+resultStatus :: Result y -> SquealTxM db ExecStatus+resultStatus = unsafeSquealIOTxM1 Squeal.resultStatus -okResult :: K LibPQ.Result row -> SquealM db db ()-okResult = unsafeSquealIOTx1 Squeal.okResult+-- | Analogue of 'Squeal.okResult'.+--+-- @since 0.2.0.0+okResult :: Result y -> SquealTxM db ()+okResult = unsafeSquealIOTxM1 Squeal.okResult -resultErrorMessage :: Result y -> SquealM db db (Maybe ByteString)-resultErrorMessage = unsafeSquealIOTx1 Squeal.resultErrorMessage+-- | Analogue of 'Squeal.resultErrorMessage'.+--+-- @since 0.1.0.0+resultErrorMessage :: Result y -> SquealTxM db (Maybe ByteString)+resultErrorMessage = unsafeSquealIOTxM1 Squeal.resultErrorMessage -resultErrorCode :: Result y -> SquealM db db (Maybe ByteString)-resultErrorCode = unsafeSquealIOTx1 Squeal.resultErrorCode+-- | Analogue of 'Squeal.resultErrorCode'.+--+-- @since 0.1.0.0+resultErrorCode :: Result y -> SquealTxM db (Maybe ByteString)+resultErrorCode = unsafeSquealIOTxM1 Squeal.resultErrorCode -executeParams :: Statement db x y -> x -> SquealM db db (Result y)-executeParams = unsafeSquealIOTx2 Squeal.executeParams+-- | Analogue of 'Squeal.executeParams'.+--+-- @since 0.1.0.0+executeParams :: Statement db x y -> x -> SquealTxM db (Result y)+executeParams = unsafeSquealIOTxM2 Squeal.executeParams -executeParams_ :: Statement db x () -> x -> SquealM db db ()-executeParams_ = unsafeSquealIOTx2 Squeal.executeParams_+-- | Analogue of 'Squeal.executeParams_'.+--+-- @since 0.1.0.0+executeParams_ :: Statement db x () -> x -> SquealTxM db ()+executeParams_ = unsafeSquealIOTxM2 Squeal.executeParams_ -execute :: Statement db () y -> SquealM db db (Result y)-execute = unsafeSquealIOTx1 Squeal.execute+-- | Analogue of 'Squeal.execute'.+--+-- @since 0.1.0.0+execute :: Statement db () y -> SquealTxM db (Result y)+execute = unsafeSquealIOTxM1 Squeal.execute -execute_ :: Statement db () () -> SquealM db db ()-execute_ = unsafeSquealIOTx1 Squeal.execute_+-- | Analogue of 'Squeal.execute_'.+--+-- @since 0.1.0.0+execute_ :: Statement db () () -> SquealTxM db ()+execute_ = unsafeSquealIOTxM1 Squeal.execute_ +-- | Analogue of 'Squeal.executePrepared'.+--+-- @since 0.1.0.0 executePrepared :: (Traversable list)- => Statement db x y -> list x -> SquealM db db (list (Result y))-executePrepared = unsafeSquealIOTx2 Squeal.executePrepared+ => Statement db x y -> list x -> SquealTxM db (list (Result y))+executePrepared = unsafeSquealIOTxM2 Squeal.executePrepared +-- | Analogue of 'Squeal.executePrepared_'.+--+-- @since 0.1.0.0 executePrepared_ :: (Foldable list)- => Statement db x () -> list x -> SquealM db db ()-executePrepared_ = unsafeSquealIOTx2 Squeal.executePrepared_+ => Statement db x () -> list x -> SquealTxM db ()+executePrepared_ = unsafeSquealIOTxM2 Squeal.executePrepared_ +-- | Analogue of 'Squeal.manipulateParams'.+--+-- @since 0.1.0.0 manipulateParams :: ( GenericParams db params x xs , Squeal.GenericRow row y ys ) => Manipulation '[] db params row -> x- -> SquealM db db (Result y)-manipulateParams = unsafeSquealIOTx2 Squeal.manipulateParams+ -> SquealTxM db (Result y)+manipulateParams = unsafeSquealIOTxM2 Squeal.manipulateParams +-- | Analogue of 'Squeal.manipulateParams_'.+--+-- @since 0.1.0.0 manipulateParams_ :: (GenericParams db params x xs)- => Manipulation '[] db params '[] -> x -> SquealM db db ()-manipulateParams_ = unsafeSquealIOTx2 Squeal.manipulateParams_+ => Manipulation '[] db params '[] -> x -> SquealTxM db ()+manipulateParams_ = unsafeSquealIOTxM2 Squeal.manipulateParams_ +-- | Analogue of 'Squeal.manipulate'.+--+-- @since 0.1.0.0 manipulate :: (Squeal.GenericRow row y ys)- => Manipulation '[] db '[] row -> SquealM db db (Result y)-manipulate = unsafeSquealIOTx1 Squeal.manipulate+ => Manipulation '[] db '[] row -> SquealTxM db (Result y)+manipulate = unsafeSquealIOTxM1 Squeal.manipulate +-- | Analogue of 'Squeal.manipulate_'.+--+-- @since 0.1.0.0 manipulate_- :: Manipulation '[] db '[] '[] -> SquealM db db ()-manipulate_ = unsafeSquealIOTx1 Squeal.manipulate_+ :: Manipulation '[] db '[] '[] -> SquealTxM db ()+manipulate_ = unsafeSquealIOTxM1 Squeal.manipulate_ +-- | Analogue of 'Squeal.runQueryParams'.+--+-- @since 0.1.0.0 runQueryParams :: ( GenericParams db params x xs , SOP.IsRecord y ys , SOP.AllZip Squeal.FromField row ys )- => Squeal.Query '[] '[] db params row -> x -> SquealM db db (Result y)-runQueryParams = unsafeSquealIOTx2 Squeal.runQueryParams+ => Squeal.Query '[] '[] db params row -> x -> SquealTxM db (Result y)+runQueryParams = unsafeSquealIOTxM2 Squeal.runQueryParams +-- | Analogue of 'Squeal.runQuery'.+--+-- @since 0.1.0.0 runQuery :: ( SOP.IsRecord y ys , SOP.AllZip Squeal.FromField row ys )- => Squeal.Query '[] '[] db '[] row -> SquealM db db (Result y)-runQuery = unsafeSquealIOTx1 Squeal.runQuery+ => Squeal.Query '[] '[] db '[] row -> SquealTxM db (Result y)+runQuery = unsafeSquealIOTxM1 Squeal.runQuery +-- | Analogue of 'Squeal.traversePrepared'.+--+-- @since 0.1.0.0 traversePrepared :: ( GenericParams db params x xs , Traversable list@@ -138,9 +194,12 @@ ) => Manipulation '[] db params row -> list x- -> SquealM db db (list (Result y))-traversePrepared = unsafeSquealIOTx2 Squeal.traversePrepared+ -> SquealTxM db (list (Result y))+traversePrepared = unsafeSquealIOTxM2 Squeal.traversePrepared +-- | Analogue of 'Squeal.forPrepared'.+--+-- @since 0.1.0.0 forPrepared :: ( GenericParams db params x xs , Traversable list@@ -149,55 +208,81 @@ ) => list x -> Manipulation '[] db params row- -> SquealM db db (list (Result y))-forPrepared = unsafeSquealIOTx2 Squeal.forPrepared+ -> SquealTxM db (list (Result y))+forPrepared = unsafeSquealIOTxM2 Squeal.forPrepared +-- | Analogue of 'Squeal.traversePrepared_'.+--+-- @since 0.1.0.0 traversePrepared_ :: ( GenericParams db params x xs , Foldable list ) => Manipulation '[] db params '[] -> list x- -> SquealM db db ()-traversePrepared_ = unsafeSquealIOTx2 Squeal.traversePrepared_+ -> SquealTxM db ()+traversePrepared_ = unsafeSquealIOTxM2 Squeal.traversePrepared_ +-- | Analogue of 'Squeal.forPrepared_'.+--+-- @since 0.1.0.0 forPrepared_ :: ( GenericParams db params x xs , Foldable list ) => list x -> Manipulation '[] db params '[]- -> SquealM db db ()-forPrepared_ = unsafeSquealIOTx2 Squeal.forPrepared_+ -> SquealTxM db ()+forPrepared_ = unsafeSquealIOTxM2 Squeal.forPrepared_ -transactionally :: TransactionMode -> Connection -> TxM a -> IO a+-- | Analogue of 'Squeal.transactionally'.+--+-- @since 0.1.0.0+transactionally :: (SquealEnv r) => TransactionMode -> r -> TxM r a -> IO a transactionally m = unsafeRunSquealTransaction (Squeal.transactionally m) -transactionally_ :: Connection -> TxM a -> IO a+-- | Analogue of 'Squeal.transactionally_'.+--+-- @since 0.1.0.0+transactionally_ :: (SquealEnv r) => r -> TxM r a -> IO a transactionally_ = unsafeRunSquealTransaction Squeal.transactionally_ -transactionallyRetry :: TransactionMode -> Connection -> TxM a -> IO a-transactionallyRetry m = unsafeRunSquealTransaction (Squeal.transactionallyRetry m)+-- | Specialization of 'transactionallyRetry' which uses 'Serializable'+-- and 'shouldRetryTx' to automatically retry the transaction on+-- @serialization_failure@ or @deadlock_detected@.+--+-- Note that any 'IO' that occurs inside the 'TxM' may be executed multiple times.+--+-- @since 0.2.0.0+transactionallySerializable :: (SquealEnv r) => r -> TxM r a -> IO a+transactionallySerializable =+ transactionallyRetry mode shouldRetryTx+ where+ mode =+ TransactionMode+ Serializable+ ReadWrite+ NotDeferrable -ephemerally :: TransactionMode -> Connection -> TxM a -> IO a+-- | Analogue of 'Squeal.transactionallyRetry'.+--+-- Note that any 'IO' that occurs inside the 'TxM' may be executed multiple times.+--+-- @since 0.2.0.0+transactionallyRetry+ :: (SquealEnv r, Exception e)+ => TransactionMode -> (e -> Bool) -> r -> TxM r a -> IO a+transactionallyRetry m shouldRetry =+ unsafeRunSquealTransaction (transactionallyRetry' m shouldRetry)++-- | Analogue of 'Squeal.ephemerally'.+--+-- @since 0.1.0.0+ephemerally :: (SquealEnv r) => TransactionMode -> r -> TxM r a -> IO a ephemerally m = unsafeRunSquealTransaction (Squeal.ephemerally m) -ephemerally_ :: Connection -> TxM a -> IO a+-- | Analogue of 'Squeal.ephemerally_'.+--+-- @since 0.1.0.0+ephemerally_ :: (SquealEnv r) => r -> TxM r a -> IO a ephemerally_ = unsafeRunSquealTransaction Squeal.ephemerally_--unsafeRunSquealTransaction- :: (PQ db0 db1 IO a -> PQ db0 db1 IO a)- -> Connection- -> TxM a- -> IO a-unsafeRunSquealTransaction f conn x =- flip Squeal.evalPQ (Squeal.K conn)- $ f- $ PQ \_ -> Squeal.K <$> unsafeRunTxM x--instance Tx (SquealM db0 db1) where- type TxEnv (SquealM db0 db1) = Connection- tx conn x = evalPQ x (Squeal.K conn)--instance (UnsafeTx io t) => UnsafeTx (PQ db0 db1 io) (PQ db0 db1 t) where- unsafeIOTx x = PQ \kConn -> unsafeIOTx (Squeal.unPQ x kConn)
+ src/Database/PostgreSQL/Tx/Squeal/Internal.hs view
@@ -0,0 +1,175 @@+{-# LANGUAGE BlockArguments #-}+{-# LANGUAGE ConstraintKinds #-}+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE FlexibleContexts #-}+{-# LANGUAGE GeneralisedNewtypeDeriving #-}+{-# LANGUAGE KindSignatures #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE RankNTypes #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE TypeApplications #-}+{-# LANGUAGE UndecidableInstances #-}+module Database.PostgreSQL.Tx.Squeal.Internal+ ( -- * Disclaimer+ -- $disclaimer++ -- ** Internals+ module Database.PostgreSQL.Tx.Squeal.Internal+ ) where++import Control.Exception (Exception(fromException))+import Control.Monad.IO.Class (MonadIO(liftIO))+import Data.Kind (Constraint)+import Database.PostgreSQL.Tx (TxEnv, TxException, TxM, askTxEnv, mapExceptionTx)+import Database.PostgreSQL.Tx.Squeal.Internal.Reexport+import Database.PostgreSQL.Tx.Unsafe (unsafeLookupTxEnvIO, unsafeMkTxException, unsafeRunIOInTxM, unsafeRunTxM)+import GHC.TypeLits (ErrorMessage(Text), TypeError)+import UnliftIO (MonadUnliftIO)+import qualified Data.ByteString.Char8 as Char8+import qualified Database.PostgreSQL.LibPQ as LibPQ+import qualified Squeal.PostgreSQL as Squeal+import qualified UnliftIO++-- | Runtime environment needed to run @squeal-postgresql@ via @postgresql-tx@.+--+-- @since 0.2.0.0+type SquealEnv r =+ (TxEnv SquealConnection r) :: Constraint++-- | Monad type alias for running @squeal-postgresql@ via @postgresql-tx@.+--+-- @since 0.2.0.0+type SquealM a = forall r. (SquealEnv r) => TxM r a++-- | Alias for 'SquealTxM'' but has the 'SquealEnv' constraint applied to @r@.+--+-- @since 0.2.0.0+type SquealTxM (db :: SchemasType) a =+ forall r. (SquealEnv r) => SquealTxM' db r a++-- | A newtype wrapper around 'TxM' which includes the @squeal@ 'SchemasType'+-- parameter @db@. This is used only as type information.+-- You can easily convert 'TxM' to and from 'SquealTxM'' by using the+-- 'SquealTxM'' constructor and 'fromSquealTxM' function, respectively.+--+-- In practice, you will likely prefer to use the 'SquealTxM' type alias+-- as it includes the 'SquealEnv' constraint on @r@.+--+-- @since 0.2.0.0+newtype SquealTxM' (db :: SchemasType) r a =+ SquealTxM+ { -- | Convert a 'SquealTxM'' to a 'TxM'.+ --+ -- @since 0.2.0.0+ fromSquealTxM :: TxM r a+ }+ deriving newtype (Functor, Applicative, Monad)++-- | The 'SquealTxM'' monad discourages performing arbitrary 'IO' within a+-- transaction, so this instance generates a type error when client code tries+-- to call 'liftIO'.+--+-- Note that we specialize this instance for 'SquealTxM'' rather than derive it+-- via newtype so we can provide a better error message.+--+-- @since 0.2.0.0+instance+ ( TypeError+ ('Text "MonadIO is banned in SquealTxM'; use 'SquealTxM . unsafeRunIOInTxM' if you are sure this is safe IO")+ ) => MonadIO (SquealTxM' db r)+ where+ liftIO = undefined++-- | Used in the 'SquealEnv' to specify the 'LibPQ.Connection' to use.+-- Should produce the same 'LibPQ.Connection' if called multiple times+-- in the same transaction. Usually you will want to use 'mkSquealConnection'+-- to get one.+--+-- @since 0.2.0.0+newtype SquealConnection =+ UnsafeSquealConnection+ { unsafeGetLibPQConnection :: IO LibPQ.Connection+ }++-- | Construct a 'SquealConnection' from a 'LibPQ.Connection'.+--+-- @since 0.2.0.0+mkSquealConnection :: LibPQ.Connection -> SquealConnection+mkSquealConnection conn = UnsafeSquealConnection (pure conn)++fromSquealException :: SquealException -> TxException+fromSquealException =+ unsafeMkTxException \case+ SQLException SQLState { sqlStateCode } -> Just $ Char8.unpack sqlStateCode+ _ -> Nothing++unsafeSquealIOTxM+ :: PQ db db IO a+ -> SquealTxM db a+unsafeSquealIOTxM (PQ f) = SquealTxM $ mapExceptionTx (Just . fromSquealException) do+ UnsafeSquealConnection { unsafeGetLibPQConnection } <- askTxEnv+ unsafeRunIOInTxM do+ conn <- unsafeGetLibPQConnection+ K a <- f (K conn)+ pure a++unsafeSquealIOTxM1+ :: (x1 -> PQ db db IO a)+ -> x1 -> SquealTxM db a+unsafeSquealIOTxM1 f x1 = unsafeSquealIOTxM $ f x1++unsafeSquealIOTxM2+ :: (x1 -> x2 -> PQ db db IO a)+ -> x1 -> x2 -> SquealTxM db a+unsafeSquealIOTxM2 f x1 x2 = unsafeSquealIOTxM $ f x1 x2++unsafeSquealIOTxM3+ :: (x1 -> x2 -> x3 -> PQ db db IO a)+ -> x1 -> x2 -> x3 -> SquealTxM db a+unsafeSquealIOTxM3 f x1 x2 x3 = unsafeSquealIOTxM $ f x1 x2 x3++unsafeRunSquealTransaction+ :: forall r a. (SquealEnv r)+ => (forall db. PQ db db IO a -> PQ db db IO a)+ -> r+ -> TxM r a+ -> IO a+unsafeRunSquealTransaction f r x = do+ UnsafeSquealConnection { unsafeGetLibPQConnection } <- unsafeLookupTxEnvIO r+ conn <- unsafeGetLibPQConnection+ flip evalPQ (K conn)+ $ f+ $ PQ \_ -> K <$> unsafeRunTxM r x++-- | A variant of 'transactionallyRetry' which takes a predicate+-- for determining when to retry instead of only doing so on+-- @serialization_failure@.+transactionallyRetry'+ :: (MonadUnliftIO m, MonadPQ db m, Exception e)+ => TransactionMode+ -> (e -> Bool)+ -> m a+ -> m a+transactionallyRetry' mode shouldRetry action = UnliftIO.mask $ \restore ->+ loop . UnliftIO.try $ do+ x <- restore action+ Squeal.manipulate_ commit+ return x+ where+ loop attempt = do+ Squeal.manipulate_ $ begin mode+ attempt >>= \case+ Right a -> return a+ Left e -> do+ Squeal.manipulate_ rollback+ if any shouldRetry (fromException e) then+ loop attempt+ else+ UnliftIO.throwIO e++-- $disclaimer+--+-- Changes to this module will not be reflected in the library's version+-- updates.