MCPcopy
hub / github.com/hasura/graphql-engine / SetSQLUp

Method SetSQLUp

cli/migrate/cmd/commands.go:45–48  ·  view source on GitHub ↗
(data string)

Source from the content-addressed store, hash-verified

43}
44
45func (c *CreateOptions) SetSQLUp(data string) error {
46 c.SQLUp = []byte(data)
47 return nil
48}
49
50func (c *CreateOptions) SetSQLUpFromFile(filePath string) error {
51 var op errors.Op = "cmd.CreateOptions.SetSQLUpFromFile"

Callers 2

MigrateAPIFunction · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected