parent_of
The same join read the other way: the one row a child points at, or none.
Source and package
- Qualified name
-
libtmux::parent _of - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/relations.hpp
- template <typename Child, typename Parent> [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] auto parent_of(const std::vector <Parent>& rows, StringField <Child> foreignHandle _key , StringField <Parent> key);template <typename Child, typename Parent> auto parent_of(const std::Handle vector <Parent>&&, StringField <Child>, StringHandle Field <Parent>) = delete;Handle -
- Type parameters
- Parameters
-
-
rows(const std::vector <Parent> &) # forparent_of(rows, foreign_key, key) -
foreign_key(StringField <Child>) # forHandle parent_of(rows, foreign_key, key) -
key(StringField <Parent>) # forHandle parent_of(rows, foreign_key, key) -
const std::vector<Parent> &&# forparent_of(const std::vector<Parent> &&, StringFieldHandle<Child>, StringFieldHandle<Parent>) -
StringFieldHandle<Child># forparent_of(const std::vector<Parent> &&, StringFieldHandle<Child>, StringFieldHandle<Parent>) -
StringFieldHandle<Parent># forparent_of(const std::vector<Parent> &&, StringFieldHandle<Child>, StringFieldHandle<Parent>)
-