No, this is a global query. Something like `repository.builds.last` would probably be better, although I'm not 100% sure if that's the most efficient query or correct.