                         else
                             cb()
                     (cb) =>
-                        if get_all == 'all_projects'
+                        if get_all == 'account_id'
+                            get_all = [opts.account_id]
+                            cb()
+                        else if get_all == 'all_projects_read'
                             @get_project_ids_with_user
                                 account_id : opts.account_id
                                 cb         : (err, x) =>

                                    else
                                        get_all = x.concat(index:'project_id')
                                        cb()
                        else
                            cb()
                ], cb)

                db_query = @table(opts.table)
                if get_all?
                    db_query = db_query.getAll(get_all...)
                else
                    # don't allow any queries that don't involve an explicit primary key lookup,
                    # since they could be slow or unsafe.
                    cb("query must involve primary key")
                    return
                filter = @_query_to_filter(query, primary_key)
                if filter?
                    db_query = db_query.filter(filter)
                db_query = db_query.pluck(@_query_to_field_selector(query, primary_key))
                if not opts.multi
                    db_query = db_query.limit(1)
                {db_query, limit, err} = @_query_parse_options(db_query, opts.options)
