getParameters method
Get the parameters of this QueryPart,
for example:
IntField has its int value as parameter.
FieldWithValue.inCollection has list of values as parameters.
Implementation
@override
List getParameters() {
var beforeParameters = [
if (before is QueryPart)
...before.getParameters()
else
DbHelper.getDbValue(before),
];
var afterParameters = [
if (after is QueryPart)
...after.getParameters()
else
DbHelper.getDbValue(after),
];
var result = [...beforeParameters, ...afterParameters];
return result;
}