AnsweredAssumed Answered

PHP Performance: getRelatedSet() vs 2nd Query

Question asked by user375 on Oct 9, 2015
Latest reply on Oct 9, 2015 by user375

When I want to pull records from one table as well as related records from another table on the same PHP page, is it better to do that as 2 separate queries using 2 separate layouts, or with a portal on a single layout and use getRelatedSet() instead? What is the preferred method in terms of speed and minimizing database load? Thanks.