Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA4
    • Fix Version/s: 2.0-BETA2
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None

      Description

      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)

        Activity

        Hide
        Christian Heinrich added a comment - - edited

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

        Further improvements will be appreciated!

        Show
        Christian Heinrich added a comment - - edited Added some changes here http://github.com/Shurakai/orm-documentation/commit/b8576559928e665fccbe8a0321c52e500f7c4e5b Further improvements will be appreciated!
        Hide
        Roman S. Borschel added a comment -

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

        Show
        Roman S. Borschel added a comment - The formatting seems to be a bit broken, maybe a tabs/spaces issue? (we use spaces only). I will pull this upstream then soon.
        Hide
        Roman S. Borschel added a comment -

        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.

        Show
        Roman S. Borschel added a comment - 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.

          People

          • Assignee:
            Christian Heinrich
            Reporter:
            Christian Heinrich
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: