MCPcopy Create free account
hub / github.com/rilldata/rill / DeleteDeployment

Method DeleteDeployment

admin/database/postgres/postgres.go:735–738  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

733}
734
735func (c *connection) DeleteDeployment(ctx context.Context, id string) error {
736 res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM deployments WHERE id=$1", id)
737 return checkDeleteRow("deployment", res, err)
738}
739
740func (c *connection) UpdateDeploymentStatus(ctx context.Context, id string, status database.DeploymentStatus, message string) (*database.Deployment, error) {
741 res := &database.Deployment{}

Callers

nothing calls this directly

Calls 3

getDBMethod · 0.95
checkDeleteRowFunction · 0.85
ExecContextMethod · 0.45

Tested by

no test coverage detected