You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
550 B

  1. #pragma once
  2. #include "data_context.h"
  3. namespace cpphibernate {
  4. namespace mariadb {
  5. /**
  6. * @brief Mariadb driver context for deleting datasets from the database.
  7. */
  8. struct destroy_context
  9. : public data_context
  10. {
  11. std::string where; //!< Where clause for deleting datasets.
  12. template<typename T_dataset>
  13. inline destroy_context(
  14. const schema_t& p_schema,
  15. ::cppmariadb::connection& p_connection,
  16. T_dataset& p_dataset);
  17. };
  18. } }