modernized for 2013 interface
Merge pull request #8 from cfedersp/master

support for relational queries (pointers)