comments edits

This commit is contained in:
ana-uvarova 2021-03-22 17:22:27 +03:00
parent 2c3e404c06
commit 52c7ea3366
2 changed files with 4 additions and 4 deletions

View File

@ -19,13 +19,13 @@ For a case-insensitive search, use the function [positionCaseInsensitive](#posit
**Syntax**
``` sql
position((haystack, needle[, start_pos]) | (needle in haystack))
position((haystack, needle[, start_pos]) | (needle IN haystack))
```
Alias: `locate(haystack, needle[, start_pos])`.
!!! note
Now it supports position(needle in haystack) syntax for SQL-compatibility, which is same as position(haystack, needle). This new function POSITION(needle IN haystack) works exactly the same way as POSITION(haystack, needle).
!!! note "Note"
Now it supports position(needle IN haystack) syntax for SQL-compatibility, which is same as position(haystack, needle). This new function POSITION(needle IN haystack) works exactly the same way as POSITION(haystack, needle).
**Arguments**

View File

@ -18,7 +18,7 @@ toc_title: "\u0424\u0443\u043d\u043a\u0446\u0438\u0438\u0020\u043f\u043e\u0438\u
**Синтаксис**
``` sql
position((haystack, needle[, start_pos]) | (needle in haystack))
position((haystack, needle[, start_pos]) | (needle IN haystack))
```
Алиас: `locate(haystack, needle[, start_pos])`.