Documentation
¶
Overview ¶
Code generated by baton-sdk. DO NOT EDIT!!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = field.NewConfiguration([]field.SchemaField{
dsn, schemas, includeColumns, includeLargeObjects, syncAllDatabases,
}, relationships...)
Functions ¶
This section is empty.
Types ¶
type Postgresql ¶
type Postgresql struct {
Dsn string `mapstructure:"dsn"`
Schemas []string `mapstructure:"schemas"`
IncludeColumns bool `mapstructure:"include-columns"`
IncludeLargeObjects bool `mapstructure:"include-large-objects"`
SyncAllDatabases bool `mapstructure:"sync-all-databases"`
}
func (*Postgresql) GetBool ¶
func (c *Postgresql) GetBool(fieldName string) bool
func (*Postgresql) GetInt ¶
func (c *Postgresql) GetInt(fieldName string) int
func (*Postgresql) GetString ¶
func (c *Postgresql) GetString(fieldName string) string
func (*Postgresql) GetStringMap ¶
func (c *Postgresql) GetStringMap(fieldName string) map[string]any
func (*Postgresql) GetStringSlice ¶
func (c *Postgresql) GetStringSlice(fieldName string) []string
Click to show internal directories.
Click to hide internal directories.