On this page
libtmux::children_of
- Module
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/relations.hpp
- children_of ( typename Parent , typename Child , rows : const std::vector< Child > & , foreign_key : StringFieldHandle< Child > , key : StringFieldHandle< Parent > ) typename Parent ( typename Parent , typename Child , const std::vector< Child > && , StringFieldHandle< Child > , StringFieldHandle< Parent > ) typename Parent
-
Join two listings on the id one of them carries.
A relation predicate has to reach the related rows without running tmux, so the caller lists both kinds once and links them here. The result borrows the rows it was given, exactly as a filtered view does, so it must not outlive the listing it reads.
0 declared, 0 inherited