Fleshing out the new query view datasource.