Sha256: 9185013d2c504d7420d6926a94569912913525643b19753f2ead6a2b7ce33afe

Contents?: true

Size: 765 Bytes

Versions: 5

Compression:

Stored size: 765 Bytes

Contents

# when matching attributes are preserved
- alf: |-
    project(matching(suppliers, supplies), [:sid, :name])
  optimized: |-
    matching(project(suppliers, [:sid, :name]), supplies)
# when matching attributes are preserved (allbut)
- alf: |-
    allbut(matching(suppliers, supplies), [:city])
  optimized: |-
    matching(allbut(suppliers, [:city]), supplies)

# when matching attributes are not preserved
- alf: |-
    project(matching(suppliers, supplies), [:name])
  optimized: |-
    project(matching(project(suppliers, [:sid, :name]), supplies), [:name])
# when matching attributes are not preserved (allbut)
- alf: |-
    allbut(matching(suppliers, supplies), [:sid, :name])
  optimized: |-
    allbut(matching(allbut(suppliers, [:name]), supplies), [:sid])

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.16.3 spec/optimizer/project/matching.yml
alf-0.16.2 spec/optimizer/project/matching.yml
alf-0.16.1 spec/optimizer/project/matching.yml
alf-0.16.0 spec/optimizer/project/matching.yml
alf-0.15.0 spec/optimizer/project/matching.yml