From 020e5799ad74cfafd469f032cd05767c9d670a16 Mon Sep 17 00:00:00 2001 From: Clifford Gama Date: Fri, 5 Dec 2025 17:28:38 +0200 Subject: Refs #27834 -- Restored "expression" in StrIndex's docs signature. Documentation regression in 20dbf19fc505f0383e96b323905953c863817fe4. --- docs/ref/models/database-functions.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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: -- cgit v1.3