def fetch_EnkiPost_key_by_author( author ): list = EnkiModelPost.query( EnkiModelPost.author == author ).fetch( keys_only = True ) return list
def fetch_EnkiPost_by_author( author ): list = EnkiModelPost.query( EnkiModelPost.author == author ).order( -EnkiModelPost.time_created ).fetch() return list
def fetch_EnkiPost_by_thread( thread, limit, offset ): list = EnkiModelPost.query( EnkiModelPost.thread == thread ).order( EnkiModelPost.time_created ).fetch( limit = limit, offset = offset ) return list
def fetch_EnkiPost_key_by_author(author): list = EnkiModelPost.query(EnkiModelPost.author == author).fetch( keys_only=True) return list
def fetch_EnkiPost_by_author(author): list = EnkiModelPost.query(EnkiModelPost.author == author).order( -EnkiModelPost.time_created).fetch() return list
def fetch_EnkiPost_by_thread(thread, limit, offset): list = EnkiModelPost.query(EnkiModelPost.thread == thread).order( EnkiModelPost.time_created).fetch(limit=limit, offset=offset) return list