I want expose via xsodata a cds view which does a select on a table with a where clause comparing a column to the equivalent of $.request.language.
How can I do this? While I have eg CURRENT_USER for the view definition, how can I use something like $.request.language? And while I can modify CUD operations with xsjs, I can't modify READ operations...
Any ideas?