Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposeOperation ¶
type ComposeOperation struct {
// contains filtered or unexported fields
}
func (*ComposeOperation) Execute ¶
func (d *ComposeOperation) Execute(fixtureName string)
func (*ComposeOperation) ExecuteWith ¶
func (d *ComposeOperation) ExecuteWith(tableName string, fixtureName string)
func (*ComposeOperation) ExecuteWithFilter ¶
func (d *ComposeOperation) ExecuteWithFilter(tableName string, fixtureName string, filter Filter)
type DataSet ¶
func NewFlatYmlDataSet ¶
type DatabaseFactory ¶
func NewPostgresDatabaseFactory ¶
func NewPostgresDatabaseFactory(driver, ds string, opts ...Options) DatabaseFactory
type DeleteAllOperation ¶
type DeleteAllOperation struct {
// contains filtered or unexported fields
}
func (*DeleteAllOperation) Execute ¶
func (d *DeleteAllOperation) Execute(fixtureName string)
func (*DeleteAllOperation) ExecuteWith ¶
func (d *DeleteAllOperation) ExecuteWith(tableName string, fixtureName string)
func (*DeleteAllOperation) ExecuteWithFilter ¶
func (d *DeleteAllOperation) ExecuteWithFilter(tableName string, fixtureName string, filter Filter)
type DeleteOperation ¶
type DeleteOperation struct {
// contains filtered or unexported fields
}
func (*DeleteOperation) Execute ¶
func (d *DeleteOperation) Execute(fixtureName string)
func (*DeleteOperation) ExecuteWith ¶
func (d *DeleteOperation) ExecuteWith(tableName string, fixtureName string)
func (*DeleteOperation) ExecuteWithFilter ¶
func (d *DeleteOperation) ExecuteWithFilter(tableName string, fixtureName string, filter Filter)
type FlatYmlDataSet ¶
type FlatYmlDataSet struct {
Folder string
}
type InsertOperation ¶
type InsertOperation struct {
// contains filtered or unexported fields
}
func (*InsertOperation) Execute ¶
func (d *InsertOperation) Execute(fixtureName string)
func (*InsertOperation) ExecuteWith ¶
func (d *InsertOperation) ExecuteWith(tableName string, fixtureName string)
func (*InsertOperation) ExecuteWithFilter ¶
func (d *InsertOperation) ExecuteWithFilter(tableName string, fixtureName string, filter Filter)
type Operation ¶
type Operation interface { Execute(fixtureName string) ExecuteWith(tableName string, fixtureName string) ExecuteWithFilter(tableName string, fixtureName string, filter Filter) }
func Delete ¶
func Delete(dbFactory DatabaseFactory, dataSet DataSet) Operation
func DeleteAll ¶
func DeleteAll(dbFactory DatabaseFactory, dataSet DataSet) Operation
func DeleteAndInsert ¶
func DeleteAndInsert(dbFactory DatabaseFactory, dataSet DataSet) Operation
func Insert ¶
func Insert(dbFactory DatabaseFactory, dataSet DataSet) Operation
type PostgresDatabaseFactory ¶
type PostgresDatabaseFactory struct {
// contains filtered or unexported fields
}
func (*PostgresDatabaseFactory) Close ¶
func (p *PostgresDatabaseFactory) Close() error
func (*PostgresDatabaseFactory) DB ¶
func (p *PostgresDatabaseFactory) DB() *sql.DB
func (*PostgresDatabaseFactory) Exec ¶
func (p *PostgresDatabaseFactory) Exec(cmds []Command)
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
func (*Record) ColumnsByAlias ¶
func (*Record) ColumnsByValues ¶
Click to show internal directories.
Click to hide internal directories.