[storm] doubt

Gustavo Niemeyer gustavo at niemeyer.net
Tue Nov 27 20:04:24 GMT 2007


Hello Ana,

> i have this
> items = RelatedJoin('DBItem', addRemoveName='Item')
> containers = MultipleJoin('DBContainer', joinColumn='container_id')
> in sql
> but i wanted to know how i can put this in storm...
> thank you

What you're looking for is the Reference and ReferenceSet classes
in Storm.  You can find more information about them in the Tutorial:

    https://storm.canonical.com/Tutorial

In the sections:

    - Many-to-one reference sets
    - Many-to-many reference sets and composed keys

We can provide actual code for your example, but we need more information
about which tables and columns are involved.  If you provide the schema
for these tables and more details we can try to help further.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list