Sha256: 6a7cba3ac24a315c383a1e9bd02ad06b83d1cf15911042f2665d70ac3d51d2e8

Contents?: true

Size: 281 Bytes

Versions: 3

Compression:

Stored size: 281 Bytes

Contents

kept_suppliers = (restrict :suppliers, lambda{ status > 10 })
with_countries = (join kept_suppliers, :cities)
supplying      = (join with_countries, :supplies)
(summarize supplying,
           [:country],
           :which => Agg::group(:pid),
           :total => Agg::sum{ qty })

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-0.9.3 examples/operators/pseudo-with.alf
alf-0.9.2 examples/pseudo-with.alf
alf-0.9.1 examples/pseudo-with.alf