I am trying to map an integer to a string value in a table column, similar to the post here:
The difference is I would like to do it dynamically. It is a table of clients, and I want to find the originating_lawyer. This is a foreign key and I am using the built in retool database.
Without any mapped value the column returns the integer that is the ID from the lawyer table.
I want to take this integer "1" use it to return the name and avatar link of the correct lawyer from the lawyer table. Then display the name and avatar of the correct lawyer.