コード例 #1
0
ファイル: tests.py プロジェクト: pombredanne/scout-2
 def refresh_doc(self, doc):
     return Document.all().where(Document.rowid == doc.rowid).get()
コード例 #2
0
 def refresh_doc(self, doc):
     return (Document.all().where(
         Document._meta.primary_key == doc.get_id()).get())