I have been using the LayerInfos object to write a class that makes it easier to query related records without having to hard code relationship IDs. The reason I like it is because I can access the table feature layers. Is there a way to do this without using LayerInfos? I want to know how to access the tables in a map using just the JS 3.x API. I looked around and found nothing, so I ended up with LayerInfos.