Add iterData to h5py and sqlite prototypes

Now works for both axes.