hi all,
now,I have a composite_key like this,
struct leader_key
: boost::multi_index::composite_key<
channel_info,
BOOST_MULTI_INDEX_MEMBER(channel_info, boost::uint64_t, st_md5_),
BOOST_MULTI_INDEX_MEMBER(channel_info, boost::uint32_t, st_rank_),
BOOST_MULTI_INDEX_MEMBER(channel_info, boost::uint8_t, st_degrees_),
BOOST_MULTI_INDEX_MEMBER(channel_info, boost::uint8_t, st_lan_type_)
>
{
};
I used "md5, rank, degrees, lan_type" to query.
I want to the result like this,
equal to md5,
less than rank
degrees from small to large
equal to lan_type
How should I do?