Do you know if there is any equivalent function to the SQL "as" statement in OData?
I need to do something like:
$select=field1 as revenue
Update (February 2020)
This request has been completed. Within OData, expressions can be given an alias within the $compute
query option or within aggregations.
Original
Something like this has been brought up to the OASIS committee (request: "allow expressions in the $select query option"), and the solution was to defer as a possible enhancement in future versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With