Implemented Foxx.createQuery.