Posted By


tamuratetsuya on 12/09/08

Statistics


Viewed 461 times
Favorited by 0 user(s)

ReferencePropertyのときの外部キーからの検索


/ Published in: Python
Save to your folder(s)

みたいなカンジで「保持するmodel名の小文字+"_set"」でぶらさがるEntityのリストを取得できる。この名称はReferencePropertyのコンストラクタのcollection_name引数で指定する事もできる。

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.