Skip to content

Fix parameter order of startswith end endswith #1997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions guides/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -965,19 +965,19 @@ For example, `startsWith` instead of `startswith` will be passed as-is to the da
#### String Functions

- `concat(x, y, ...)`
Concatenates the given strings or numbers.
Concatenates the given strings or numbers `x`, `y`, ....
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Concatenates the given strings or numbers `x`, `y`, ....
Concatenates the given strings or numbers `x`, `y`, `...`.


- `trim(x)`
Removes leading and trailing whitespaces.
Removes leading and trailing whitespaces from `x`.

- `contains(x, y)`
Checks whether `y` is contained in `x` (case-sensitive).
Checks whether `x` contains `y` (case-sensitive).

- `startswith(x, y)`
Checks whether `y` starts with `x` (case-sensitive).
Checks whether `x` starts with `y` (case-sensitive).

- `endswith(x, y)`
Checks whether `y` ends with `x` (case-sensitive).
Checks whether `x` ends with `y` (case-sensitive).
Comment on lines 976 to +980
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, now this reflects our implementation 👍


- `matchespattern(x, y)`
Checks whether `x` matches the regular expression `y`.
Expand Down