(domain, app_id)
return [doc['value'] for doc in results]
Returns all the built apps that were automatically generated for an application id.
Returns all the built apps that were automatically generated for an application id.
Returns all the built apps that were automatically generated for an application id .
def get_auto_generated_built_apps(domain, app_id):
    """
    Returns all the built apps that were automatically generated for an application id.
    """
    from .models import Application
    results = Application.get_db().view(
        'saved_apps_auto_generated/view',
        startkey=[domain, app_id],
        endkey=[domain, app_id, {}],
        reduce=False,
        include_docs=False,
    ).all()
    return [doc['value'] for doc in results]
def get_auto_generated_built_apps ( domain , app_id ) : from . models import Application results = Application . get_db ( ) . view ( 'saved_apps_auto_generated/view' , startkey = [ domain , app_id ] , endkey = [ domain , app_id , { } ] , reduce = False , include_docs = False , ) . all ( ) return [ doc [ 'value' ] for doc in results ]