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

--
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

<<attachment: jcigar.vcf>>

Reply via email to