File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#ifndef SQLITE_ORM_IMPORT_STD_MODULE
44#ifdef SQLITE_ORM_REFLECTION_SUPPORTED
55#include < meta> // std::meta::access_context, std::meta::nonstatic_data_members_of, std::meta::identifier_of
6- #include < tuple> // std::tuple, std::get
6+ #include < tuple> // std::tuple
77#include < utility> // std::index_sequence, std::make_index_sequence
88#endif
99#endif
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ namespace sqlite_orm::internal {
9393#ifdef SQLITE_ORM_WITH_VIEW
9494#ifdef SQLITE_ORM_REFLECTION_SUPPORTED
9595namespace sqlite_orm ::internal {
96- template <class O , class Select , std:: size_t ... I>
96+ template <class O , class Select , size_t ... I>
9797 auto make_view (std::string name, std::index_sequence<I...>, Select select) {
9898 constexpr auto memberNames = extract_member_names<O>();
9999 constexpr auto memberPointers = extract_member_pointers<O>();
@@ -110,6 +110,12 @@ namespace sqlite_orm::internal {
110110}
111111
112112SQLITE_ORM_EXPORT namespace sqlite_orm {
113+ /* *
114+ * Factory function for a view definition.
115+ *
116+ * The mapped object type is explicitly specified, columns and their names are deferred from the object type.
117+ * The object type must be an aggregate.
118+ */
113119 template <class O , class Select >
114120 requires (internal::is_select_expression_v<Select>)
115121 auto make_view (std::string name, Select select) {
You can’t perform that action at this time.
0 commit comments