query
temporary support for quering with where