Get app_table table object by table ID

I’ve noticed the same thing. As I understand it, however, this particular representation of row ids is subject to change without notice, so I’m reluctant to depend on it in any way.

I’d like to suggest a slightly different idea, one that does not depend on the internal structure of a row id. E.g.,

app_tables.get_table_by_row_id(s)

where s is any string containing a row id. In short, let Anvil pick it apart for you. That way, when the representation changes, it will be Anvil’s responsibility to keep this function working, not yours.

Would that work for you?

4 Likes