DBQuery definition replaced