graphql-engine/cli/migrate/database/settings.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
239 B
Go
Raw Normal View History

2018-06-24 16:40:48 +03:00
package database
type SettingsDriver interface {
// Get Current setting from database
GetSetting(name string) (value string, err error)
// UpdateSetting updates a setting in database.
UpdateSetting(name string, value string) error
}