DatabaseObject::all_for() now supports additional constraints (with variables) to further filter the results returned.