handling of raw cql or prepared