access sqlite tables via a set-like api