add the raw query interface to adapter