sacred-roseS
Refine3y ago
2 replies
sacred-rose

Resource Primary Key

Is there a way to define the row which is used as primary key on any given resource? In some cases, we aren't using id as primary key and based on the API calls that the simple REST data source + AntDInferencer are firing off, the logic seems to assume that:

1) name (the actual pk) is a related entity
2) A resource's pk will always be id

What if for example, I have something like placement.name as the pk? Is this something that's currently supported? Any suggestions on how to approach this scenario?
Was this page helpful?