MCPcopy
hub / github.com/determined-ai/determined / GetDeleteProjectQuery

Function GetDeleteProjectQuery

master/test/streamdata/stream_data.go:30–32  ·  view source on GitHub ↗

GetDeleteProjectQuery constructs a query to delete a project.

(proj model.Project)

Source from the content-addressed store, hash-verified

28
29// GetDeleteProjectQuery constructs a query to delete a project.
30func GetDeleteProjectQuery(proj model.Project) ExecutableQuery {
31 return db.Bun().NewDelete().Model(&proj).Where("id = ?", proj.ID)
32}

Callers 1

TestProjectUpdateFunction · 0.92

Calls 2

BunFunction · 0.92
ModelMethod · 0.80

Tested by 1

TestProjectUpdateFunction · 0.74