Julien Cigar wrote:
> Hello,
>
> I'm using SQLAlchemy 0.5.8 with the following mapper definition :
> http://www.pastie.org/809364
>
> According to the documentation
> (http://www.sqlalchemy.org/docs/reference/orm/mapping.html#sqlalchemy.orm.relation)
> I can use an "innerjoin" parameter on a relation() (to generate an INNER
> JOIN instead of a LEFT OUTER JOIN), but this parameter seems not to
> exist in orm.properties.RelationProperty class, I get the following error
> :
>
> File
> "/home/jcigar/venvs/pylons0.9.7/lib/python2.5/site-packages/SQLAlchemy-0.5.8-py2.5.egg/sqlalchemy/orm/__init__.py",
> line 423, in relation
>      return RelationProperty(argument, secondary=secondary, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'innerjoin'
>
> Is it a bug or am I doing something wrong ?
>
> Thanks,
> Julien
>
> (... and congratulations for 0.6 !)


hey ho, I guess we're going to get a lot of these for awhile.   The docs
default to 0.6 now.   The 0.5 docs are at
http://www.sqlalchemy.org/docs/05/ .


>
> --
> No trees were killed in the creation of this message.
> However, many electrons were terribly inconvenienced.
>
> --
> 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.
>
>

-- 
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