ql: Adding Adapter constant and Where() method