MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / SQLStop

Method SQLStop

tools/mage/dev.go:100–105  ·  view source on GitHub ↗

SQLStop stops the SQL database of the development environment.

()

Source from the content-addressed store, hash-verified

98
99// SQLStop stops the SQL database of the development environment.
100func (Dev) SQLStop() error {
101 if mg.Verbose() {
102 fmt.Println("Stopping SQL database")
103 }
104 return execDockerCompose(append([]string{"stop"}, sqlDatabase)...)
105}
106
107// SQLDump performs an SQL database dump of the dev database to the .cache folder.
108func (Dev) SQLDump() error {

Callers

nothing calls this directly

Calls 1

execDockerComposeFunction · 0.85

Tested by

no test coverage detected