Documentation ¶
Index ¶
- type DdbMoose
- func (ddb *DdbMoose) Delete(fieldKeyPrimary string, valueKeyPrimary types.AttributeValue) error
- func (ddb *DdbMoose) FindWithFilters(filters *[]DdbMooseFilter) ([]interface{}, error)
- func (ddb *DdbMoose) Save(data interface{}) (interface{}, error)
- func (ddb *DdbMoose) SetTable(tableName string) error
- type DdbMooseFilter
- type TypeFilter
- type TypeLogicalOperator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DdbMoose ¶
type DdbMoose struct {
// contains filtered or unexported fields
}
func DdbMooseCreate ¶
func (*DdbMoose) Delete ¶
func (ddb *DdbMoose) Delete(fieldKeyPrimary string, valueKeyPrimary types.AttributeValue) error
func (*DdbMoose) FindWithFilters ¶
func (ddb *DdbMoose) FindWithFilters(filters *[]DdbMooseFilter) ([]interface{}, error)
type DdbMooseFilter ¶
type DdbMooseFilter struct { Field string Operation TypeFilter Value interface{} LogicalOperator TypeLogicalOperator }
type TypeFilter ¶
type TypeFilter int
const ( TfrEqual TypeFilter = iota TfrNotEqual TfrContains TfrBeginsWith TfrGreaterThan TfrGreaterThanEqual TfrLessThan TfrLessThanEqual TfrBetween )
type TypeLogicalOperator ¶
type TypeLogicalOperator int
const ( TloNone TypeLogicalOperator = iota TloAnd TloOr )
Click to show internal directories.
Click to hide internal directories.