Primary key update [Jan 28]

:raising_hand_man: PaulPhillips asked

Good day, I have table, with a column called IncidentNo which has been set as the primary key. I would to update the this record using the IndicdentNo (PUT), but NocoDB always creates a new record, presuming it’s used the ID and not the IncidentNo Column, any ideas? Thanks

:person_tipping_hand: o1lab replied

how did you create IncidentNo as primary key

:person_tipping_hand: o1lab replied

was it already existing database

:person_tipping_hand: o1lab replied

or you created another key after creatin table

:person_tipping_hand: o1lab replied

if later then it might be a table having composite primary key

:person_tipping_hand: o1lab replied

in which case you would have to send two key as the id seperated by three underscores

:raising_hand_man: PaulPhillips replied

This was a new table via the UI

Autogenerated from discord

Join NocoDB’s community