graphql-engine/cli/migrate/database/settings.go
Aravind K P a0995d1b30 cli: add client package, statestore implementations, deprecate config v1
GitOrigin-RevId: 5a1d9cb772ac62603f2543bfe6c01a95c0a035c6
2021-02-17 04:21:11 +00:00

10 lines
239 B
Go

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
}