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

Interface SettingsDriver

cli/migrate/database/settings.go:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package database
2
3type SettingsDriver interface {
4 // Get Current setting from database
5 GetSetting(name string) (value string, err error)
6
7 // UpdateSetting updates a setting in database.
8 UpdateSetting(name string, value string) error
9}

Callers 11

GetSettingMethod · 0.65
RemoveVersionsMethod · 0.65
QueryMethod · 0.65
SquashMethod · 0.65
MigrateMethod · 0.65
QueryWithVersionMethod · 0.65
StepsMethod · 0.65
UpMethod · 0.65
UpdateSettingMethod · 0.65
UpdateSettingMethod · 0.65
SettingsAPIFunction · 0.65

Implementers 5

Migratecli/migrate/migrate.go
mockDrivercli/migrate/database/driver_test.go
HasuraDBcli/migrate/database/hasuradb/hasuradb
StateStoreCatalogcli/internal/statestore/settings/catal
StateStoreHdbTablecli/internal/statestore/settings/hdbta

Calls

no outgoing calls

Tested by

no test coverage detected