Skip to content

[WIP] Add new string functions#2202

Draft
seladb wants to merge 1 commit into
tortoise:developfrom
seladb:add-string-functions
Draft

[WIP] Add new string functions#2202
seladb wants to merge 1 commit into
tortoise:developfrom
seladb:add-string-functions

Conversation

@seladb
Copy link
Copy Markdown
Contributor

@seladb seladb commented May 24, 2026

Update existing and add new string functions.

Description

  • Update Trim to accept the characters to trim
  • Add new string functions: RTrim, LTrim, RPad, LPad, Replace
  • Noe: RPad and LPad are not available in SQLite

Motivation and Context

This aligns with what's available in Django

How Has This Been Tested?

  • Added tests for existing and new functions

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added the changelog accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@seladb seladb marked this pull request as draft May 24, 2026 03:05
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 24, 2026

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing seladb:add-string-functions (efc4f5f) with develop (179ea6f)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant