HHH-16699 add repeat() function to docs

This commit is contained in:
Gavin 2023-05-26 00:08:46 +02:00 committed by Gavin King
parent be2319b59c
commit ed897c4208
2 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,7 @@ Naturally, there are a good number of functions for working with strings.
| `left()` | The leftmost characters of a string | `left(string, length)` | ✗ / ✗ | `left()` | The leftmost characters of a string | `left(string, length)` | ✗ / ✗
| `right()` | The rightmost characters of a string | `right(string, length)` | ✗ / ✗ | `right()` | The rightmost characters of a string | `right(string, length)` | ✗ / ✗
| `replace()` | Replace every occurrence of a pattern in a string | `replace(string, pattern, replacement)` | ✗ / ✗ | `replace()` | Replace every occurrence of a pattern in a string | `replace(string, pattern, replacement)` | ✗ / ✗
| `repeat()` | Concatenate a string with itself multiple times | `replace(string, times)` | ✗ / ✗
| `collate()` | Select a collation | `collate(p.name as collation)` | ✗ / ✗ | `collate()` | Select a collation | `collate(p.name as collation)` | ✗ / ✗
|=== |===

View File

@ -939,6 +939,7 @@ public abstract class Dialect implements ConversionContext, TypeContributor, Fun
* <li> <code>right(string, length)</code> * <li> <code>right(string, length)</code>
* <li> <code>replace(string, pattern, replacement)</code> * <li> <code>replace(string, pattern, replacement)</code>
* <li> <code>pad(string with length spec[ character])</code> * <li> <code>pad(string with length spec[ character])</code>
* <li> <code>repeat(string, times)</code>
* </ul> * </ul>
* *
* <ul> * <ul>