Documentation ¶
Index ¶
- Constants
- func ForceDelete(entity beeorm.Entity)
- type Options
- type Plugin
- func (p *Plugin) GetCode() string
- func (p *Plugin) InterfaceInitEntitySchema(schema beeorm.SettableEntitySchema, _ *beeorm.Registry) error
- func (p *Plugin) PluginInterfaceEntityFlushing(engine beeorm.Engine, event beeorm.EventEntityFlushing)
- func (p *Plugin) PluginInterfaceEntitySearch(_ beeorm.Engine, schema beeorm.EntitySchema, where *beeorm.Where) *beeorm.Where
- func (p *Plugin) PluginInterfaceTableSQLSchemaDefinition(_ beeorm.Engine, sqlSchema *beeorm.TableSQLSchemaDefinition) error
Constants ¶
View Source
const PluginCode = "github.com/latolukasz/beeorm/plugins/fake_delete"
Variables ¶
This section is empty.
Functions ¶
func ForceDelete ¶
func ForceDelete(entity beeorm.Entity)
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) InterfaceInitEntitySchema ¶
func (*Plugin) PluginInterfaceEntityFlushing ¶
func (p *Plugin) PluginInterfaceEntityFlushing(engine beeorm.Engine, event beeorm.EventEntityFlushing)
func (*Plugin) PluginInterfaceEntitySearch ¶
func (p *Plugin) PluginInterfaceEntitySearch(_ beeorm.Engine, schema beeorm.EntitySchema, where *beeorm.Where) *beeorm.Where
func (*Plugin) PluginInterfaceTableSQLSchemaDefinition ¶
Click to show internal directories.
Click to hide internal directories.