reference table name as const

I'm looking for a way to reference a postgres table name as a const. getTableConfig(tableName).name returns the name as a string, while tableName._.name does not exist in runtime. Hopefully there's something that combines both, without needing for manual typecasting.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?