diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-12-05 17:28:38 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-05 10:29:49 -0500 |
| commit | bdd06c5457bada41ecca742c451b90770250bc4e (patch) | |
| tree | df33b95a92a81441b0db8fab3784221951c2c647 | |
| parent | 719db78a94f0c69301dbcafee0373b0c0a49dff0 (diff) | |
[6.0.x] Refs #27834 -- Restored "expression" in StrIndex's docs signature.
Documentation regression in 20dbf19fc505f0383e96b323905953c863817fe4.
Backport of 020e5799ad74cfafd469f032cd05767c9d670a16 from main.
| -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: |
