It turns out there's this whole fourth concept of SQL types that I was missing.
I forgot regular old integers.
We can get a list of fields!
Minor change to avoid a copy in test.