You may want to have a driver metadata type API which will tell the caller if this backend is transactional and which operations it supports. That way a module can query and fail, or at least warn if the database doesn't have the features required. These kind of APIs tend to be easy to implement and prevent people from hardcoding "I only work with SQLServer or Datomic" type checks.
You may want to have a driver metadata type API which will tell the caller if this backend is transactional and which operations it supports. That way a module can query and fail, or at least warn if the database doesn't have the features required. These kind of APIs tend to be easy to implement and prevent people from hardcoding "I only work with SQLServer or Datomic" type checks.