developed-pinkD
Refine3y ago
4 replies
developed-pink

dataprovider

I have Hasura-Graphql on top of Postgres which I used in Refine Graphql data provider. I have a table which has email as primary key instead of
id
. When I'm trying to use useOne, it requires
id
field which internally makes a query with id instead of email. How can I use useOne with tables having non-ID primary key?
Was this page helpful?