Versions in this module Expand all Collapse all v1 v1.0.0 Feb 28, 2024 Changes in this version + type Config struct + AwsRegion string + TablePrefix string + type DeleteDynamodb struct + func NewDeleteDynamodb(adapter *DynamoAdapter) *DeleteDynamodb + func (d *DeleteDynamodb) Condition(name string, value any) adapters.Delete + func (d *DeleteDynamodb) Exec(ctx context.Context) error + func (d *DeleteDynamodb) Model(model any) adapters.Delete + type DynamoAdapter struct + func NewDynamoAdapter(config *Config) (*DynamoAdapter, error) + func (d *DynamoAdapter) GetInstance() any + func (d *DynamoAdapter) NewDelete() adapters.Delete + func (d *DynamoAdapter) NewFind() adapters.Find + func (d *DynamoAdapter) NewInsert() adapters.Insert + func (d *DynamoAdapter) NewSelect() adapters.Select + func (d *DynamoAdapter) NewUpdate() adapters.Update + func (d *DynamoAdapter) TableName(model any) string + type FindDynamodb struct + func NewFindDynamodb(adapter *DynamoAdapter) *FindDynamodb + func (f *FindDynamodb) Condition(name string, value any) adapters.Find + func (f *FindDynamodb) Exec(ctx context.Context) error + func (f *FindDynamodb) Model(model any) adapters.Find + type Insert struct + func NewInsert(adapter *DynamoAdapter) *Insert + func (i *Insert) Exec(ctx context.Context) (*adapters.InsertResult, error) + func (i *Insert) Model(model any) adapters.Insert + type Select struct + func NewSelect(adapter *DynamoAdapter) *Select + func (s *Select) Condition(name string, value any) adapters.Select + func (s *Select) Count(ctx context.Context) (int64, error) + func (s *Select) Exec(ctx context.Context) error + func (s *Select) GreaterThan(name string, value any) adapters.Select + func (s *Select) GreaterThanEqual(name string, value any) adapters.Select + func (s *Select) In(name string, value any) adapters.Select + func (s *Select) LessThan(name string, value any) adapters.Select + func (s *Select) LessThanEqual(name string, value any) adapters.Select + func (s *Select) Model(model any) adapters.Select + func (s *Select) NotEqual(name string, value any) adapters.Select + func (s *Select) OrderBy(name string, order string) adapters.Select + type UpdateDynamodb struct + func NewUpdateDynamodb(adapter *DynamoAdapter) *UpdateDynamodb + func (u *UpdateDynamodb) Condition(name string, value any) adapters.Update + func (u *UpdateDynamodb) Exec(ctx context.Context) error + func (u *UpdateDynamodb) Model(model any) adapters.Update + func (u *UpdateDynamodb) Set(name string, value any) adapters.Update