Documentation
¶
Index ¶
- Variables
- type Adapter
- func (adapter *Adapter) Close() error
- func (adapter *Adapter) Migrate(ctx context.Context) error
- func (adapter *Adapter) Ping(ctx context.Context) error
- func (adapter *Adapter) WithinBackupTransaction(ctx context.Context, operation func(backup.Transaction) error) error
- func (adapter *Adapter) WithinContentTransaction(ctx context.Context, operation func(contentapplication.Transaction) error) error
- func (adapter *Adapter) WithinIdentityTransaction(ctx context.Context, operation func(identityapplication.Transaction) error) error
- func (adapter *Adapter) WithinTaxonomyTransaction(ctx context.Context, operation func(taxonomyapplication.Transaction) error) error
- type Dialect
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("record not found") ErrConflict = errors.New("record version conflict") )
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) WithinBackupTransaction ¶
func (*Adapter) WithinContentTransaction ¶
func (adapter *Adapter) WithinContentTransaction( ctx context.Context, operation func(contentapplication.Transaction) error, ) error
func (*Adapter) WithinIdentityTransaction ¶
func (adapter *Adapter) WithinIdentityTransaction( ctx context.Context, operation func(identityapplication.Transaction) error, ) error
func (*Adapter) WithinTaxonomyTransaction ¶
func (adapter *Adapter) WithinTaxonomyTransaction( ctx context.Context, operation func(taxonomyapplication.Transaction) error, ) error
Click to show internal directories.
Click to hide internal directories.