Sequel adapter, querying

see the commit messages