Dynamic function get use typed column names using getTableConfig
I have both UUIDs and NanoIDs on every one of my tables. I am considering adding utils to map from uuid -> nanoID & vice versa.
how would i make a dynamic function like this? basically under the assumption every table has a
id
and shortId
column which is the nanoid
0 Replies