How to use expressions in a collection.
More specific, I want to SELECT CAST(qty_shipped AS UNSIGNED)
.
I have tried something like this:
addExpressionFieldToSelect('qty_shipped','CAST(qty_shipped AS UNSIGNED)',null)
, but it appends the table name for some reason.
Thanks.