Skip to content

feat: string concatenation #4

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

Closed
wants to merge 1 commit into from
Closed

feat: string concatenation #4

wants to merge 1 commit into from

Conversation

elcapo
Copy link
Contributor

@elcapo elcapo commented May 20, 2023

Hello @tpetry,

Here is my attempt to add support for string concatenation. It uses concat in all cases except in SQLite, where it uses the corresponding || operator.

I added a test but, honestly, I haven't been able to run the tests so this needs testing before merging.

@tpetry
Copy link
Owner

tpetry commented May 21, 2023

Thanks for your contribution.

I'll delay merging this PR until laravel/framework#46558 is merged. The current implementation of query expressions can't use arbitrary strings in expressions due to SQL injection problems. Only with the PR to Laravel this feature will be of use.

tpetry added a commit that referenced this pull request Jun 9, 2023
@tpetry tpetry closed this Jun 9, 2023
@tpetry
Copy link
Owner

tpetry commented Jun 9, 2023

This is now released with 0.5.0. Thanks for your contribution.

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.

2 participants