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

CDS Configuration Schema - What is the purpose of 'key element' keyword?

$
0
0

Hi,

 

I'm reading the developer guide inside HANA Studio and it's not clear the purpose of 'key element' keyword when defining entities.

 

Of course 'key' must be used to define a table key but I didn't get what is the difference added when 'element' is used after it.

 

In other words, when defining an entity using CDS, what is the difference of:

 

entity Entity1 {

    key Fstr:       String( 5000 );
};

 

and

 

entity Entity2 {

    key element Fstr:       String( 5000 );
};

 

?

 

Thanks,


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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