Documentation
¶
Overview ¶
Package filter contains the routines for managing a database filter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseFilter ¶
type DatabaseFilter struct {
// contains filtered or unexported fields
}
DatabaseFilter stores a list of filtered databases given a comma-separated list of database names
func NewDatabaseFilter ¶
func NewDatabaseFilter(filter string) *DatabaseFilter
NewDatabaseFilter returns the DatabaseFilter based on the comma-separated list of database names given
func (*DatabaseFilter) Args ¶
func (f *DatabaseFilter) Args() []string
Args returns the arguments to be provided to sql.Query(..., args)
func (*DatabaseFilter) ExtraSQL ¶
func (f *DatabaseFilter) ExtraSQL() string
ExtraSQL returns the extra string to apply to the base SQL statement (placeholders)
Click to show internal directories.
Click to hide internal directories.