From bdd06c5457bada41ecca742c451b90770250bc4e Mon Sep 17 00:00:00 2001 From: Clifford Gama Date: Fri, 5 Dec 2025 17:28:38 +0200 Subject: [6.0.x] Refs #27834 -- Restored "expression" in StrIndex's docs signature. Documentation regression in 20dbf19fc505f0383e96b323905953c863817fe4. Backport of 020e5799ad74cfafd469f032cd05767c9d670a16 from main. --- docs/ref/models/database-functions.txt | 4 ++-- 1 file 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: -- cgit v1.3