Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

32 řádky
1.0 KiB

  1. #pragma once
  2. #include <string>
  3. #include <cppmariadb/config.h>
  4. #include <cppmariadb/enums.h>
  5. namespace cppmariadb
  6. {
  7. struct column
  8. {
  9. std::string name; //!< Name of the column.
  10. std::string original_name; //!< Original name of the column (if not renamed)
  11. std::string table; //!< Name of the table.
  12. std::string original_table; //!< Original name of the table (if not renamed)
  13. std::string database; //!< Name of the database.
  14. unsigned long length; //!< Length of the column.
  15. unsigned long max_length; //!< Maximal length of the column.
  16. column_flags flags; //!< Column flags.
  17. unsigned int decimals; //!< Decimals
  18. unsigned int charset_number; //!< Cahrset numbers.
  19. column_type type; //!< Column type.
  20. /**
  21. * @brief Value constructor. Create a column object from the mariadb fields handle.
  22. */
  23. inline column(MYSQL_FIELD& f);
  24. };
  25. }