aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mssql/query.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/mssql/query.hxx b/odb/mssql/query.hxx
index 67b2d26..3097641 100644
--- a/odb/mssql/query.hxx
+++ b/odb/mssql/query.hxx
@@ -415,6 +415,10 @@ namespace odb
return *this;
}
+ template <typename T, database_type_id ID>
+ query_base&
+ operator+= (const query_column<T, ID>&);
+
// Implementation details.
//
public:
@@ -1477,6 +1481,14 @@ namespace odb
return r;
}
+ template <typename T, database_type_id ID>
+ inline query_base& query_base::
+ operator+= (const query_column<T, ID>& c)
+ {
+ append (c.table (), c.column ());
+ return *this;
+ }
+
//
//
template <typename T, database_type_id>