From 93207c081e9f9fede4d7aacbb15611b60354e4b9 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sat, 5 Feb 2011 15:26:58 +0100 Subject: [PATCH] Add another paragraph with functionalities not described yet. --- en/tutorials/working-with-indexed-associations.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/en/tutorials/working-with-indexed-associations.rst b/en/tutorials/working-with-indexed-associations.rst index 2934c1a30..d218d62f5 100644 --- a/en/tutorials/working-with-indexed-associations.rst +++ b/en/tutorials/working-with-indexed-associations.rst @@ -285,6 +285,10 @@ The same applies to DQL queries: The ``indexBy`` configuration acts as implicit echo $stock->getSymbol(); // will print "AAPL" +If you want to use ``INDEX BY`` explicitly on an indexed association you are free to do so. Additionally +indexed associations also work with the ``Collection::slice()`` functionality, no matter if marked as +LAZY or EXTRA_LAZY. + Outlook into the Future ~~~~~~~~~~~~~~~~~~~~~~~