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

Interface ExecutableQuery

master/test/streamdata/stream_data.go:15–17  ·  view source on GitHub ↗

ExecutableQuery an interface that requires queries of this type to have an exec function.

Source from the content-addressed store, hash-verified

13
14// ExecutableQuery an interface that requires queries of this type to have an exec function.
15type ExecutableQuery interface {
16 Exec(ctx context.Context, dest ...interface{}) (sql.Result, error)
17}
18
19// GetAddProjectQuery constructs a query to create a new project in the db.
20func GetAddProjectQuery(proj model.Project) ExecutableQuery {

Calls

no outgoing calls

Tested by

no test coverage detected