An interface with the same methodset as sql.DB for decoupling database logic