Fundamental change to the DbQuery meta data

Changes of the lookup data for a query.