23 lines
489 B
C++
23 lines
489 B
C++
#ifndef CONDITION_COLUMN_HPP
|
|
#define CONDITION_COLUMN_HPP
|
|
|
|
#include <string>
|
|
|
|
namespace matador::condition {
|
|
class column {
|
|
public:
|
|
explicit column(std::string name);
|
|
explicit column(std::string table_name, std::string name);
|
|
|
|
[[nodiscard]] const std::string& table() const;
|
|
[[nodiscard]] const std::string& name() const;
|
|
|
|
private:
|
|
std::string table_{};
|
|
std::string name_{};
|
|
};
|
|
|
|
column operator ""_col(const char *name, size_t len);
|
|
|
|
}
|
|
#endif //CONDITION_COLUMN_HPP
|