Example #1
0
def fetch_EnkiPost_key_by_author( author ):
	list = EnkiModelPost.query( EnkiModelPost.author == author ).fetch( keys_only = True )
	return list
Example #2
0
def fetch_EnkiPost_by_author( author ):
	list = EnkiModelPost.query( EnkiModelPost.author == author ).order( -EnkiModelPost.time_created ).fetch()
	return list
Example #3
0
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
Example #4
0
def fetch_EnkiPost_key_by_author(author):
    list = EnkiModelPost.query(EnkiModelPost.author == author).fetch(
        keys_only=True)
    return list
Example #5
0
def fetch_EnkiPost_by_author(author):
    list = EnkiModelPost.query(EnkiModelPost.author == author).order(
        -EnkiModelPost.time_created).fetch()
    return list
Example #6
0
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