Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9806

[GEP] Create a LINQ-like DSL (advanced cases)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • None
    • None

    Description

      (See GROOVY-8258)

      9. WITH-Clause

      9.1

      with v as (
          from m in numbers
          where m <= 5
          select m
      )
      from n in v
      limit 2, 5
      select n
      

      10. Union

      10.1

      from n in numbers1
      select n
      unionall
      from n in numbers2
      select n
      

      10.2

      from n in numbers1
      select n
      union
      from n in numbers2
      select n
      

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              daniel_sun Daniel Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: