Documentation ¶
Index ¶
- type Store
- func (s *Store) Create(ctx context.Context, core property.Property) error
- func (s *Store) ExecuteUnderTransaction(tx transaction.Transaction) (property.Storer, error)
- func (s *Store) QueryByID(ctx context.Context, id uuid.UUID) (property.Property, error)
- func (s *Store) QueryByManagerID(ctx context.Context, id uuid.UUID) ([]property.Property, error)
- func (s *Store) Update(ctx context.Context, core property.Property) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ExecuteUnderTransaction ¶
func (s *Store) ExecuteUnderTransaction(tx transaction.Transaction) (property.Storer, error)
ExecuteUnderTransaction constructs a new Store value replacing the sqlx DB value with a sqlx DB value that is currently inside a transaction.
func (*Store) QueryByManagerID ¶
Click to show internal directories.
Click to hide internal directories.