Add an implementation of Dyno.query()