OData $expand function using aliases in Data Virtualization
Issue
- Can the table_column names used in an $expand be shortened, i.e. an alias without changing the DV models underneath?
- For example the call based on the virtual table and column for each JSON array
$expand=v_salescard_vfk_card,v_salesasset_vfk_asset
can the returned columns be namedasset
andcard
instead ofv_salescard_vfk_card
andv_salesasset_vfk_asset
?
Environment
- Red Hat JBoss Data Virtualization (DV) 6.4
- Odata query using $expand:
http://localhost:8080/odata4/vdb/vbl/v_salescust?$format=JSON & $filter= ID eq '12345678' & $expand=v_salescard_vfk_card,v_salesasset_vfk_asset
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.