STARTS_WITH & ENDS_WITH criteria method #5632

Closed
opened 2026-01-22 15:13:20 +01:00 by admin · 3 comments
Owner

Originally created by @yalg on GitHub (Aug 10, 2017).

Originally assigned to: @Ocramius on GitHub.

Hi,

I found in master branch new methods startsWith and endsWith, but Doctrine 1.5.6 didn't allows to use it.
a557c97a93

I think it's not a "new feature", because CONTAINS already exists, and it's just an improvement of CONTAINS.

Is there a reason this feature is not merged into 1.5.6?

Originally created by @yalg on GitHub (Aug 10, 2017). Originally assigned to: @Ocramius on GitHub. Hi, I found in master branch new methods startsWith and endsWith, but Doctrine 1.5.6 didn't allows to use it. https://github.com/doctrine/doctrine2/commit/a557c97a93adc1c7c0232e78290cce842a92a6bd I think it's not a "new feature", because CONTAINS already exists, and it's just an improvement of CONTAINS. Is there a reason this feature is not merged into 1.5.6?
admin added the Question label 2026-01-22 15:13:20 +01:00
admin closed this issue 2026-01-22 15:13:21 +01:00
Author
Owner

@Ocramius commented on GitHub (Aug 10, 2017):

@yalg because it is still a new feature for the ORM :-)

Additions to the API are never backported.

@Ocramius commented on GitHub (Aug 10, 2017): @yalg because it is still a `new feature` for the ORM :-) Additions to the API are never backported.
Author
Owner

@yalg commented on GitHub (Aug 10, 2017):

Ok good reason 😄
have you an approximal "month" (year?) of release?

@yalg commented on GitHub (Aug 10, 2017): Ok good reason 😄 have you an approximal "month" (year?) of release?
Author
Owner

@Ocramius commented on GitHub (Aug 10, 2017):

Nope - simply "when we have time"

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

On Thu, Aug 10, 2017 at 10:48 AM, Ya LG notifications@github.com wrote:

Ok good reason 😄
have you an approximal "month" (year?) of release?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6611#issuecomment-321491125,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakMN8QcNEOHhXcZCGyk8JH0DVrXNLks5sWsPbgaJpZM4OzFYy
.

@Ocramius commented on GitHub (Aug 10, 2017): Nope - simply "when we have time" Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Thu, Aug 10, 2017 at 10:48 AM, Ya LG <notifications@github.com> wrote: > Ok good reason 😄 > have you an approximal "month" (year?) of release? > > — > You are receiving this because you were assigned. > Reply to this email directly, view it on GitHub > <https://github.com/doctrine/doctrine2/issues/6611#issuecomment-321491125>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAJakMN8QcNEOHhXcZCGyk8JH0DVrXNLks5sWsPbgaJpZM4OzFYy> > . >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5632