Skip to content

Commit

Permalink
Typo: ~ is the 'match' operator (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon authored Aug 26, 2024
1 parent 2f023bd commit bb467a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ These functions can be used when working with and manipulating text and string v
<td scope="row" data-label="Description">Set the patch version of a semver string</td>
</tr>
<tr>
<td scope="row" data-label="Function"><a href="#stringsemversetpatch"><code>string::similarity::fuzzy()</code></a></td>
<td scope="row" data-label="Function"><a href="#stringsimilarityfuzzy"><code>string::similarity::fuzzy()</code></a></td>
<td scope="row" data-label="Description">Return the similarity score of fuzzy matching strings</td>
</tr>
</tbody>
Expand Down Expand Up @@ -1028,7 +1028,7 @@ RETURN string::semver::set::patch("1.2.3", 9);

## `string::similarity::fuzzy`

While [the ~ operator](/docs/surrealdb/surrealql/operators#matches) is a quick go-to to see if two strings are a fuzzy match, it returns a boolean that does not indicate relative similarity.
While [the ~ operator](/docs/surrealdb/surrealql/operators#match) is a quick go-to to see if two strings are a fuzzy match, it returns a boolean that does not indicate relative similarity.

```surql
RETURN "SurrealDB" ~ "db";
Expand Down

0 comments on commit bb467a3

Please sign in to comment.