Skip to content

Loading…

DDC-275: Improve QueryBuilder docs #3494

Closed
doctrinebot opened this Issue · 4 comments

1 participant

@doctrinebot

Jira issue originally created by user shurakai:

Within the QueryBuilder section, it should be described that params can be bound by using setParameter($key, $value) or setParameters($array)

Also, it should be mentioned that using $queryBuilder->expr()->in('field', array( 'string' ) ); is not valid and instead of using a string, one must use ?1 and set the param by using setParameters. (Otherwise, an exception would be thrown)

@doctrinebot

Comment created by shurakai:

Added some changes here http://github.com/Shurakai/orm-documentation/commit/b8576559928e665fccbe8a0321c52e500f7c4e5b

Further improvements will be appreciated!

@doctrinebot

Comment created by romanb:

The formatting seems to be a bit broken, maybe a tabs/spaces issue? (we use spaces only).
I will pull this upstream then soon.

@doctrinebot

Comment created by romanb:

OK, I see this is already committed. Can you just take a second look at the formatting? Thanks.

This can be closed then as you see fit.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA2 milestone
@doctrinebot doctrinebot closed this
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.