dbConditionInt function should use foreach loop insted of cursor operations to not copy input array

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Minor
    • 2.1.0
    • Affects Version/s: 2.1.0
    • Component/s: API (A)
    • None

      function dbConditionInt($fieldName, array $values, $notIn = false) {

      to iterate over $values array foreach statement should be used, because current implementation with cursor operations makes copy of $values array which uses more memory and processing time.

            Assignee:
            Unassigned
            Reporter:
            Toms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: