Hello. I am trying to use BatchGet operation with filter expression. And if at least one bin of the set does not match the conditions, I get error ““ResultCode: FILTERED_OUT, Iteration: 0, InDoubt: false, Node: : Transaction filtered out”” The same conditions of filter work fine when used in a Query.
This is my go-code:
var policy = as.NewBatchPolicy()
policy.FilterExpression = as.ExpGreater( as.ExpListGetByValue( as.ListReturnTypeCount, as.ExpStringVal(location), as.ExpListBin(“allowed”), ), as.ExpIntVal(1), )
recs, err := client.BatchGet(policy, keys)