MySQL 9.6.0
Source Code Documentation
nested_set_predicates.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::sets
 

Functions

template<class Key_t , Is_set Mapped1_t, Is_set Mapped2_t>
requires (Is_compatible_set<Mapped1_t, Mapped2_t> && !std::same_as<Mapped1_t, Mapped2_t>)
constexpr bool mysql::sets::operator== (const std::pair< const Key_t, Mapped1_t > &left, const std::pair< const Key_t, Mapped2_t > &right)
 Return true if the two pairs are equal, for pairs in which the second components have different types but the same set category and traits. More...
 
template<Is_nested_set Nested_set_t>
constexpr bool mysql::sets::contains_element (const Nested_set_t &set, const typename Nested_set_t::Key_t &key, const auto &...mapped)
 Return true if the value is contained in the Nested set. More...
 
template<Is_nested_set Nested_set1_t, Is_nested_set Nested_set2_t>
requires Is_compatible_set<Nested_set1_t, Nested_set2_t>
constexpr bool mysql::sets::is_subset (const Nested_set1_t &set1, const Nested_set2_t &set2)
 Return true if the left Nested set is a subset of or equal to the right Nested_set. More...
 
template<Is_nested_set Nested_set1_t, Is_nested_set Nested_set2_t>
requires Is_compatible_set<Nested_set1_t, Nested_set2_t>
constexpr bool mysql::sets::is_intersecting (const Nested_set1_t &set1, const Nested_set2_t &set2)
 Return true if the two Nested sets intersect (overlap). More...
 

Detailed Description

Experimental API header.