list result of a query

Signed-off-by: constpetrov <constant.petrov@gmail.com>