diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/database-functions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt index 3d5a64f931..00c94f0350 100644 --- a/docs/ref/models/database-functions.txt +++ b/docs/ref/models/database-functions.txt @@ -1785,10 +1785,10 @@ Usage example: ``StrIndex`` ------------ -.. class:: StrIndex(string, substring, **extra) +.. class:: StrIndex(expression, substring, **extra) Returns a positive integer corresponding to the 1-indexed position of the first -occurrence of ``substring`` inside ``string``, or 0 if ``substring`` is not +occurrence of ``substring`` inside ``expression``, or 0 if ``substring`` is not found. Usage example: |
