No, but it would have taken a lot more words to convey the same idea, so I'm happy just giving the gist. Most of the time, you don't want to grate your onions.
That's going to end up with a slush of onion fibre + onion juices. Very much different from even small bits of cut onion. Some recipes call for blended onions though.
Grating the Gordian knot, if you will.
https://youtu.be/glIUUrh6qtQ?t=40