[storm] use storm from existing db-scheme

Adrian Klaver aklaver at comcast.net
Mon Mar 24 14:42:00 GMT 2008


On Monday 24 March 2008 7:27 am, Gustavo Niemeyer wrote:
> Hello,
>
>  > i'm planning to use storm in my project and i already have a working
>  > db-scheme on my postgresql DB. the frontpage of the storm-homepage
>  > says that it works well with existing schemes, but i couldn't find out
>  > how. is there some way of automatically generate all the python
>  > classes?
>
> Please check out the tutorial.  It might give you some hints about
> how to use Storm in general.  In few words, you create your classes
> including Storm properties that reflect the schema in use.
>
>  > additionally i want to know if storm can make use of the postgresql
>  > schema-feature, because my tables are all ordered to schemas.
>
> We're postgres users ourselves, but I don't know what you mean
> by "schema-feature", or "ordered to schemas".

I believe the OP is asking whether Storm recognizes schema notation;
schema.table_name

>
>  > what do i have to do, if i have to alter the scheme in someday? does
>  > storm take care of it?
>
> No, Storm doesn't do schema management.  For a more insightful
> discussion on the topic, please see the topic "some questions
> about Storm" in the list archive, earlier this month.
>
> --
> Gustavo Niemeyer
> http://niemeyer.net

-- 
Adrian Klaver
aklaver at comcast.net



More information about the storm mailing list