Skip to content

fix(macros): Added SQLite REGEXP support for sqlx macros#4352

Open
XVanilor wants to merge 1 commit into
transact-rs:mainfrom
XVanilor:fix/vanilor/add-sqlite-regexp-macros-support
Open

fix(macros): Added SQLite REGEXP support for sqlx macros#4352
XVanilor wants to merge 1 commit into
transact-rs:mainfrom
XVanilor:fix/vanilor/add-sqlite-regexp-macros-support

Conversation

@XVanilor

Copy link
Copy Markdown

Does your PR solve an issue?

Fixes #3070

This intend to allow sqlite regexp function to be used with macros, it extends an already-supported feature. It covers by-design sqlx-cli as well.

Following recommendations from !4313 (closed), it introduces a new register-regexp configuration field in sqlx.toml.

Is this a breaking change?

No. The new configuration parameter is defined as Option<...> to avoid breaking compatibility with earlier versions.

….toml

- fix issue transact-rs#3070
- allows sqlx-cli prepare to work with sqlite regexp
@XVanilor
XVanilor force-pushed the fix/vanilor/add-sqlite-regexp-macros-support branch from 2109b6c to d505bfd Compare July 23, 2026 23:26
@XVanilor

Copy link
Copy Markdown
Author

Force push following Actions issues

@XVanilor XVanilor changed the title fix(macros): Added SQLite REGEXP support for sqlx macros through sqlx… fix(macros): Added SQLite REGEXP support for sqlx macros Jul 23, 2026
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.

[SQLite] REGEXP feature does not work with macros

1 participant