Thanks, though! :)

Don't suppose you would have an idea on how I could store a procedure? :)
the actions to which I'm pertaining I envisioned as controller actions
(Pylons) that I could define an associate with an execution flow... (don't
know if that makes sense)...
I was thinking of just storing the Route url and execute it with app.get or
app.post though idk...

On Thu, Aug 26, 2010 at 10:21 PM, Alexandre Conrad <
alexandre.con...@gmail.com> wrote:

> This is the documentation for self referential mapper:
>
> http://www.sqlalchemy.org/docs/mappers.html#adjacency-list-relationships
>
> I guess you have found the recipes for doing it the declarative way.
>
> 2010/8/26 waugust <waugustyn...@gmail.com>:
> > I'm guessing that the answer would be as at:
> >
> http://www.sqlalchemy.org/trac/wiki/UsageRecipes/DeclarativeSelfReferencingTable
> >
> > ?
> >
> > On Aug 26, 8:02 pm, waugust <waugustyn...@gmail.com> wrote:
> >> I've been looking through the documentation and I could have sworn I
> >> saw it before but It seem I can't find it once more...
> >> I'm looking for how to set up a self referencing column like in this
> >> pseudo scenerio:
> >>
> >> class Action(DeclarativeBase):
> >>
> >>            __tablename__ = 'action'
> >>
> >>            id = Column(Integer, autoincrement=True, primary_key=True)
> >>
> >> >>>    onsuccess = Column(Integer, ForeignKey=('action.id')  <<<
> >>
> >> I would want to have an id of an action upon the "success" of an
> >> action...
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> > To post to this group, send email to sqlalch...@googlegroups.com.
> > To unsubscribe from this group, send email to
> sqlalchemy+unsubscr...@googlegroups.com<sqlalchemy%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> http://groups.google.com/group/sqlalchemy?hl=en.
> >
> >
>
>
>
> --
> Alex
> twitter.com/alexconrad
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To post to this group, send email to sqlalch...@googlegroups.com.
> To unsubscribe from this group, send email to
> sqlalchemy+unsubscr...@googlegroups.com<sqlalchemy%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/sqlalchemy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to