![]() ![]() returning :: ( Beamable tbl, Projectible Postgres a) => cmd Postgres tbl -> (tbl ( QExpr Postgres PostgresInaccessible) -> a) -> PgReturningType cmd ( QExprToIdentity a).table ( QExpr Postgres s) -> QExpr Postgres s Bool) -> (table ( QExpr Postgres PostgresInaccessible) -> a) -> PgDeleteReturning ( QExprToIdentity a) deleteReturning :: Projectible Postgres a => DatabaseEntity Postgres be ( TableEntity table) -> ( forall s.runPgDeleteReturningList :: ( MonadBeam be m, BeamSqlBackendSyntax be ~ PgCommandSyntax, FromBackendRow be a) => PgDeleteReturning a -> m.newtype PgDeleteReturning a = PgDeleteReturning PgSyntax.table ( QExpr Postgres s) -> QExpr Postgres s Bool) -> (table ( QExpr Postgres PostgresInaccessible) -> a) -> PgUpdateReturning ( QExprToIdentity a) table ( QField s) -> QAssignment Postgres s) -> ( forall s. updateReturning :: Projectible Postgres a => DatabaseEntity Postgres be ( TableEntity table) -> ( forall s.runPgUpdateReturningList :: ( MonadBeam be m, BeamSqlBackendSyntax be ~ PgCommandSyntax, FromBackendRow be a) => PgUpdateReturning a -> m.onConflictUpdateInstead :: ( BeamHasInsertOnConflict be, Beamable table, ProjectibleWithPredicate AnyType () (InaccessibleQAssignment be) proj) => (table ( Const (InaccessibleQAssignment be) :: Type -> Type) -> proj) -> SqlConflictAction be table.onConflictUpdateAll :: ( BeamHasInsertOnConflict be, Beamable table) => SqlConflictAction be table.table ( QField s) -> table ( QExpr be s) -> QExpr be s Bool) -> SqlConflictAction be table table ( QField s) -> table ( QExpr be s) -> QAssignment be s) -> ( forall s. onConflictUpdateSetWhere :: Beamable table => ( forall s.table ( QField s) -> table ( QExpr be s) -> QAssignment be s) -> SqlConflictAction be table ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |