jamesaoverton / cmi-pb-terminology

CMI-PB Controlled Terminology
0 stars 0 forks source link

Implement insert_row #57

Closed jamesaoverton closed 2 years ago

jamesaoverton commented 2 years ago

I had kind of forgotten about this, but we need an insert_row() function (parallel to update_row()) that can be called from the frontend code.

lmcmicu commented 2 years ago

How is the new row number to be determined? For rows that are loaded from the .tsv files this corresponds to the actual position of the row in the file. For new rows should we simply increment the greatest row number by 1?

jamesaoverton commented 2 years ago

Yes, that sounds right to me.