From 3caaf2606943990d0030e16cc64b947040882a17 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 29 Dec 2014 16:16:05 +0900 Subject: [PATCH] Explicit example of partial indexes --- docs/en/reference/annotations-reference.rst | 30 +++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/annotations-reference.rst b/docs/en/reference/annotations-reference.rst index 27271f491..6b1f021f5 100644 --- a/docs/en/reference/annotations-reference.rst +++ b/docs/en/reference/annotations-reference.rst @@ -428,7 +428,7 @@ Optional attributes: - ``where``: SQL WHERE condition to be used for partial indexes. It will only have effect on supported platforms. -Example: +Basic example: .. code-block:: php @@ -441,6 +441,19 @@ Example: { } +Example with partial indexes: + +.. code-block:: php + +