Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Expose a collection from a xsodata service

$
0
0

Hi

 

I have created a xsodata service "preferences" which exposes the table columns .

service {

"SCHEMA_NAME"."package_path::TABLE_NAME" as "preferences";

}

 

The table columns are

 

KEY      VALUE      ITEM_TYPE

 

a            1               apple

b            2               apple         

x            8               apple

c            3               orange    

d            4               orange

e            9               orange

 

 

Is it possible to expose a certain set of collection from the xsodata service "preferences", as lets say, preferences.xsodata/apple and preferences.xsodata/orange. How do you define such a service in the xsodata file?

 

I have referred the developer guide. The OSDL syntax doesnt give any clue about exposing a certain set of items/rows from the table.

 

Appreciate your help.

 

 

Thanks,

Ponraj


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>