added default values for column alias name in constructor
This commit is contained in:
@@ -21,9 +21,9 @@ struct column
|
|||||||
column(const char *name); // NOLINT(*-explicit-constructor)
|
column(const char *name); // NOLINT(*-explicit-constructor)
|
||||||
column(std::string name); // NOLINT(*-explicit-constructor)
|
column(std::string name); // NOLINT(*-explicit-constructor)
|
||||||
column(sql_function_t func, std::string name); // NOLINT(*-explicit-constructor)
|
column(sql_function_t func, std::string name); // NOLINT(*-explicit-constructor)
|
||||||
column(std::string table_name, std::string name, std::string as);
|
column(std::string table_name, std::string name, std::string as = "");
|
||||||
column(std::string table_name, const char* name, std::string as);
|
column(std::string table_name, const char* name, std::string as = "");
|
||||||
column(struct table &t, const char* name, std::string as);
|
column(struct table &t, const char* name, std::string as = "");
|
||||||
|
|
||||||
[[nodiscard]] bool equals(const column &x) const;
|
[[nodiscard]] bool equals(const column &x) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user