added the RAW query capability
check if the module supports the raw query capability before calling raw query func