Skip to content

Commit c39fdfa

Browse files
committed
Fix typo in expr example
1 parent f639d01 commit c39fdfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpcr-shell/querying.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Set the value of ``a.title`` to the value of the property :
196196
197197
.. code-block:: bash
198198
199-
PHPCRSH> UPDATE [nt:unstructured] AS a SET a.title = expr('row.getNode().getProperty('some_property')')
199+
PHPCRSH> UPDATE [nt:unstructured] AS a SET a.title = expr('row.getNode().getPropertyValue("some_property")')
200200
201201
Increment the value of a property:
202202

0 commit comments

Comments
 (0)