Documentation ¶
Index ¶
- type Store
- func (s *Store) BatchCreate(ctx context.Context, cores []floor.Floor) error
- func (s *Store) Create(ctx context.Context, core floor.Floor) error
- func (s *Store) DeleteByPropertyID(ctx context.Context, id uuid.UUID) error
- func (s *Store) ExecuteUnderTransaction(tx transaction.Transaction) (floor.Storer, error)
- func (s *Store) QueryByBlockID(ctx context.Context, id uuid.UUID) ([]floor.Floor, error)
- func (s *Store) QueryByID(ctx context.Context, id uuid.UUID) (floor.Floor, error)
- func (s *Store) QueryByPropertyID(ctx context.Context, id uuid.UUID) ([]floor.Floor, error)
- func (s *Store) Update(ctx context.Context, core floor.Floor) 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) BatchCreate ¶
func (*Store) DeleteByPropertyID ¶
func (*Store) ExecuteUnderTransaction ¶
func (s *Store) ExecuteUnderTransaction(tx transaction.Transaction) (floor.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) QueryByBlockID ¶
func (*Store) QueryByPropertyID ¶
Click to show internal directories.
Click to hide internal directories.