Some checks failed
ci / build (push) Has been cancelled
Cause of this was that the close event type was also being used by the related overlay, and the event was being caught by that even though the overlay was hidden. Also started working on changing the sort order within the column selector by pressing S.
16 lines
351 B
Go
16 lines
351 B
Go
package queryexpr
|
|
|
|
import (
|
|
"github.com/aws/aws-sdk-go-v2/service/dynamodb/types"
|
|
"github.com/lmika/dynamo-browse/internal/dynamo-browse/models"
|
|
)
|
|
|
|
type ExprFieldValueEvaluator struct {
|
|
Expr *QueryExpr
|
|
}
|
|
|
|
func (sfve ExprFieldValueEvaluator) EvaluateForItem(item models.Item) types.AttributeValue {
|
|
val, _ := sfve.Expr.EvalItem(item)
|
|
return val
|
|
}
|