(domain, app_id)
return [result['id'] for result in results]
Returns all the built apps for an application id, in descending order of time built.
Returns all the built apps for an application id, in descending order of time built.
Returns all the built apps for an application id in descending order of time built .
def get_build_ids(domain, app_id):
    """
    Returns all the built apps for an application id, in descending order of time built.
    """
    from .models import Application
    results = Application.get_db().view(
        'app_manager/saved_app',
        startkey=[domain, app_id, {}],
        endkey=[domain, app_id],
        descending=True,
        reduce=False,
        include_docs=False,
    ).all()
    return [result['id'] for result in results]
def get_build_ids ( domain , app_id ) : from . models import Application results = Application . get_db ( ) . view ( 'app_manager/saved_app' , startkey = [ domain , app_id , { } ] , endkey = [ domain , app_id ] , descending = True , reduce = False , include_docs = False , ) . all ( ) return [ result [ 'id' ] for result in results ]