Documentation ¶
Index ¶
- type Config
- type DeleteDynamodb
- type DynamoAdapter
- 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
- type Insert
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteDynamodb ¶
type DeleteDynamodb struct {
// contains filtered or unexported fields
}
func NewDeleteDynamodb ¶
func NewDeleteDynamodb(adapter *DynamoAdapter) *DeleteDynamodb
type DynamoAdapter ¶
type DynamoAdapter struct {
// contains filtered or unexported fields
}
func NewDynamoAdapter ¶
func NewDynamoAdapter(config *Config) (*DynamoAdapter, error)
func (*DynamoAdapter) GetInstance ¶
func (d *DynamoAdapter) GetInstance() any
func (*DynamoAdapter) NewDelete ¶
func (d *DynamoAdapter) NewDelete() adapters.Delete
func (*DynamoAdapter) NewFind ¶
func (d *DynamoAdapter) NewFind() adapters.Find
func (*DynamoAdapter) NewInsert ¶
func (d *DynamoAdapter) NewInsert() adapters.Insert
func (*DynamoAdapter) NewSelect ¶
func (d *DynamoAdapter) NewSelect() adapters.Select
func (*DynamoAdapter) NewUpdate ¶
func (d *DynamoAdapter) NewUpdate() adapters.Update
func (*DynamoAdapter) TableName ¶
func (d *DynamoAdapter) TableName(model any) string
type FindDynamodb ¶
type FindDynamodb struct {
// contains filtered or unexported fields
}
func NewFindDynamodb ¶
func NewFindDynamodb(adapter *DynamoAdapter) *FindDynamodb
type Insert ¶
type Insert struct {
// contains filtered or unexported fields
}
func NewInsert ¶
func NewInsert(adapter *DynamoAdapter) *Insert
type Select ¶
type Select struct {
// contains filtered or unexported fields
}
func NewSelect ¶
func NewSelect(adapter *DynamoAdapter) *Select
func (*Select) GreaterThanEqual ¶
func (*Select) LessThanEqual ¶
type UpdateDynamodb ¶
type UpdateDynamodb struct {
// contains filtered or unexported fields
}
func NewUpdateDynamodb ¶
func NewUpdateDynamodb(adapter *DynamoAdapter) *UpdateDynamodb
Click to show internal directories.
Click to hide internal directories.