Documentation ¶
Index ¶
- type Client
- func (c *Client) AllByKeys(ctx context.Context, keys []Key) ([]map[string]types.AttributeValue, error)
- func (c *Client) AllByPartialSk(ctx context.Context, pk, partialSk string, v interface{}) error
- func (c *Client) AllForActor(ctx context.Context, sk string, v interface{}) error
- func (c *Client) AllKeysByPk(ctx context.Context, pk string) ([]Key, error)
- func (c *Client) BatchPut(ctx context.Context, values []interface{}) error
- func (c *Client) Create(ctx context.Context, v interface{}) error
- func (c *Client) DeleteKeys(ctx context.Context, keys []Key) error
- func (c *Client) DeleteOne(ctx context.Context, pk, sk string) error
- func (c *Client) LatestForActor(ctx context.Context, sk string, v interface{}) error
- func (c *Client) One(ctx context.Context, pk, sk string, v interface{}) error
- func (c *Client) OneByPartialSk(ctx context.Context, pk, partialSk string, v interface{}) error
- func (c *Client) OneByUID(ctx context.Context, uid string, v interface{}) error
- func (c *Client) Put(ctx context.Context, v interface{}) error
- func (c *Client) Update(ctx context.Context, pk, sk string, values map[string]types.AttributeValue, ...) error
- type ConditionalCheckFailedError
- type Key
- type Logger
- type MultipleResultsError
- type NotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AllByPartialSk ¶ added in v0.742.0
func (*Client) AllForActor ¶ added in v0.712.0
func (*Client) AllKeysByPk ¶ added in v0.785.0
func (*Client) DeleteKeys ¶ added in v0.785.0
func (*Client) LatestForActor ¶ added in v0.712.0
func (*Client) OneByPartialSk ¶ added in v0.712.0
type ConditionalCheckFailedError ¶ added in v0.794.0
type ConditionalCheckFailedError struct{}
func (ConditionalCheckFailedError) Error ¶ added in v0.794.0
func (c ConditionalCheckFailedError) Error() string
type MultipleResultsError ¶
type MultipleResultsError struct{}
func (MultipleResultsError) Error ¶
func (n MultipleResultsError) Error() string
type NotFoundError ¶
type NotFoundError struct{}
func (NotFoundError) Error ¶
func (n NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.