Created
April 15, 2014 20:18
-
-
Save dogrunjp/10768591 to your computer and use it in GitHub Desktop.
query object(正確にはModel classのインスタンス)からkey_nameを取得する方法。
key_nameはエンティティのプロパティではなくエンティティの識別子のKeyオブジェクトの要素とのこと。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for val in query: | |
name = val.key().name() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment