removed unused code
This commit is contained in:
@@ -12,10 +12,6 @@ namespace matador::query::internal {
|
||||
class column_value_pair {
|
||||
public:
|
||||
column_value_pair() = default;
|
||||
// column_value_pair(table_column col, utils::database_type value);
|
||||
// column_value_pair(const std::string& name, utils::database_type value);
|
||||
// column_value_pair(const char *name, utils::database_type value);
|
||||
// column_value_pair(const char *name, utils::placeholder p);
|
||||
column_value_pair(column_value_pair&& x) = default;
|
||||
column_value_pair& operator=(column_value_pair&& x) = default;
|
||||
column_value_pair(table_column col, column_expression_ptr expression);
|
||||
@@ -24,12 +20,10 @@ public:
|
||||
friend bool operator!=(const column_value_pair &lhs, const column_value_pair &rhs);
|
||||
|
||||
[[nodiscard]] const table_column& col() const;
|
||||
// [[nodiscard]] const std::variant<utils::placeholder, utils::database_type>& value() const;
|
||||
[[nodiscard]] const abstract_column_expression& expression() const;
|
||||
|
||||
private:
|
||||
table_column column_;
|
||||
// std::variant<utils::placeholder, utils::database_type> value_;
|
||||
column_expression_ptr expression_;
|
||||
|
||||
};
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
#include "matador/object/restriction.hpp"
|
||||
|
||||
namespace matador::query::internal {
|
||||
|
||||
class query_alter_part final : public query_part {
|
||||
|
||||
Reference in New Issue
Block a user