summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorClifford Gama <cliffygamy@gmail.com>2025-12-05 17:28:38 +0200
committerGitHub <noreply@github.com>2025-12-05 10:28:38 -0500
commit020e5799ad74cfafd469f032cd05767c9d670a16 (patch)
treeab5213320aa644cbe5b8007fe85df0840321f192 /docs/ref/models
parent1dfd5aa2b5beb2d5354527eae4f2589b828ac06c (diff)
Refs #27834 -- Restored "expression" in StrIndex's docs signature.
Documentation regression in 20dbf19fc505f0383e96b323905953c863817fe4.
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/database-functions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/database-functions.txt b/docs/ref/models/database-functions.txt
index c9262eb244..42bbb09956 100644
--- a/docs/ref/models/database-functions.txt
+++ b/docs/ref/models/database-functions.txt
@@ -1783,10 +1783,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: