Oh snap!  Very nice!  I spent like 10 minutes trying to see whether it was possible to do direct SQL in a collection object but then I gave up.  Good to know!