Versions in this module Expand all Collapse all v0 v0.0.1 Jul 20, 2022 Changes in this version + func Sort(items []Item, tableInfo *TableInfo) + type Item map[string]types.AttributeValue + func (i Item) AttributeValueAsString(key string) (string, bool) + func (i Item) Clone() Item + func (i Item) KeyValue(info *TableInfo) map[string]types.AttributeValue + func (i Item) Renderer(key string) itemrender.Renderer + type ItemAttribute struct + Dirty bool + Hidden bool + Marked bool + New bool + type ItemIndex struct + Index int + Item Item + type ItemType string + const BoolItemType + const NullItemType + const NumberItemType + const StringItemType + const UnsetItemType + type KeyAttribute struct + PartitionKey string + SortKey string + type QueryExecutionPlan struct + CanQuery bool + Expression expression.Expression + type Queryable interface + Plan func(tableInfo *TableInfo) (*QueryExecutionPlan, error) + String func() string + type ResultSet struct + Query Queryable + TableInfo *TableInfo + func (rs *ResultSet) AddNewItem(item Item, attrs ItemAttribute) + func (rs *ResultSet) Columns() []string + func (rs *ResultSet) Hidden(idx int) bool + func (rs *ResultSet) IsDirty(idx int) bool + func (rs *ResultSet) IsNew(idx int) bool + func (rs *ResultSet) Items() []Item + func (rs *ResultSet) Marked(idx int) bool + func (rs *ResultSet) MarkedItems() []ItemIndex + func (rs *ResultSet) RefreshColumns() + func (rs *ResultSet) SetDirty(idx int, dirty bool) + func (rs *ResultSet) SetHidden(idx int, hidden bool) + func (rs *ResultSet) SetItems(items []Item) + func (rs *ResultSet) SetMark(idx int, marked bool) + func (rs *ResultSet) SetNew(idx int, isNew bool) + type TableInfo struct + DefinedAttributes []string + Keys KeyAttribute + Name string