Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3852928
D25982.1746144198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25982.1746144198.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25982: Remove doc references to LiskDAO::loadRelatives()
Attached
Detach File
Event Timeline
Log In to Comment