XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4.0
    • None
    • SQL
    • None

    Description

      Implement function zip_with_index(array[, indexFirst]) that transforms the input array by encapsulating elements into pairs with indexes indicating the order.

      Examples:
      zip_with_index(array("d", "a", null, "b")) => [("d",0),("a",1),(null,2),("b",3)]
      zip_with_index(array("d", "a", null, "b"), true) => [(0,"d"),(1,"a"),(2,null),(3,"b")]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mn-mikke Marek Novotny
              Votes:
              12 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: