Skip to content

Loading…

DDC-2305: [GH-584] QueryBuilder::addCriteria improvements #3008

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of chEbba:

Url: #584

Message:

  1. Fix problem with different comparisons on the same field in QueryExpressonVisitor (now index value is added).
  2. Add criteria field aliasing. Usually oject criteria has "filed = value" notation while DQL has "alias.field = value". First level fields are added with alias, second+ level fields (object.field, parent.object.field) are truncated to the second level (object.field) without alias. Alias map can be implemented in future.
@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-584] was opened
#584

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-584] was closed:
#584

@doctrinebot

Comment created by @beberlei:

Fixed in 35a62e9

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-584] was closed:
doctrine/dbal#584

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.