diff --git a/src/docs/contributor/n_plus_one.diviner b/src/docs/contributor/n_plus_one.diviner --- a/src/docs/contributor/n_plus_one.diviner +++ b/src/docs/contributor/n_plus_one.diviner @@ -63,9 +63,6 @@ will perform much better (although, as with all performance changes, you should verify this claim by measuring it). -See also @{method:LiskDAO::loadRelatives} method which provides an abstraction -to prevent this problem. - = Detecting the Problem = Beyond reasoning about it while figuring out how to load the data you need, the diff --git a/src/infrastructure/storage/lisk/LiskDAO.php b/src/infrastructure/storage/lisk/LiskDAO.php --- a/src/infrastructure/storage/lisk/LiskDAO.php +++ b/src/infrastructure/storage/lisk/LiskDAO.php @@ -122,9 +122,6 @@ * @{method:loadAllWhere} returns a list of objects, while * @{method:loadOneWhere} returns a single object (or `null`). * - * There's also a @{method:loadRelatives} method which helps to prevent the 1+N - * queries problem. - * * = Managing Transactions = * * Lisk uses a transaction stack, so code does not generally need to be aware