Skip to content

Refine with PostgREST #1394

Answered by omeraplak
gschader asked this question in Q&A
Dec 29, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hey @gschader ,
You can handle this with the metaData property in data hooks, forms, and tables.

For example,
if you don't have an id field in a table and you can pass your primary key attributes to dataProvider using metaData.

You can check the PostgREST dataProvider of react-admin for ideas,
https://github.com/raphiniert-com/ra-data-postgrest/blob/2c9ff6840122e059cc05910f61f1336b149d9225/src/dataProvider/index.ts

Please do not hesitate to contact us wherever you are stuck.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gschader
Comment options

@gschader
Comment options

@omeraplak
Comment options

@fspijkerman
Comment options

Answer selected by omeraplak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants