Skip to content
Snippets Groups Projects
Commit b5e04c1d authored by Oliver Hader's avatar Oliver Hader Committed by Andreas Fernandez
Browse files

[TASK] Move escapeLikeWildcards to Connection

Escaping SQL `LIKE` wildcards is only provided via
`QueryBuilder::escapeLikeWildcards()`, but would be useful as
`Connection::escapeLikeWildcards()` as well (without having the
demand to create another `QueryBuilder` instance).

With this patch, both methods are available:
* `QueryBuilder::escapeLikeWildcards()`, and
* `Connection::escapeLikeWildcards()`

Resolves: #97878
Releases: main, 11.5, 10.4
Change-Id: Ia8968dee944300949c6bb2be5b15e2d02a589d25
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75061


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 665771b3
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment