(domain, app_id, version)
return [result['id'] for result in results]
Returns ids of all an app's builds that are more recent than the given version.
Returns ids of all an app's builds that are more recent than the given version.
Returns ids of all an app s builds that are more recent than the given version .
def get_build_ids_after_version(domain, app_id, version):
    """
    Returns ids of all an app's builds that are more recent than the given version.
    """
    from .models import Application
    key = [domain, app_id]
    results = Application.get_db().view(
        'app_manager/saved_app',
        startkey=key + [version],
        endkey=key + [{}],
        reduce=False,
        include_docs=False,
        skip=1
    ).all()
    return [result['id'] for result in results]
def get_build_ids_after_version ( domain , app_id , version ) : from . models import Application key = [ domain , app_id ] results = Application . get_db ( ) . view ( 'app_manager/saved_app' , startkey = key + [ version ] , endkey = key + [ { } ] , reduce = False , include_docs = False , skip = 1 ) . all ( ) return [ result [ 'id' ] for result in results ]