Page MenuHomePhorge

D25982.1746144198.diff
No OneTemporary

D25982.1746144198.diff

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

File Metadata

Mime Type
text/plain
Expires
Fri, May 2, 00:03 (13 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1439045
Default Alt Text
D25982.1746144198.diff (1 KB)

Event Timeline