Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

docs - dev repo - update the upper_bound and lower_bound annotation #922

Merged
merged 2 commits into from
Jul 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/eosiolib/contracts/eosio/multi_index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ class multi_index
* @ingroup multiindex
*
* @param primary - Primary key that establishes the target value for the lower bound search.
* @return An iterator pointing to the `object_type` that has the lowest primary key that is greater than or equal to `primary`. If an object could not be found, it will return the `end` iterator. If the table does not exist** it will return `-1`.
* @return An iterator pointing to the `object_type` that has the lowest primary key that is greater than or equal to `primary`. If an object could not be found, or if the table does not exist**, it will return the `end` iterator.
*
* Example:
*
Expand Down Expand Up @@ -1250,7 +1250,7 @@ class multi_index
* @ingroup multiindex
*
* @param primary - Primary key that establishes the target value for the upper bound search
* @return An iterator pointing to the `object_type` that has the highest primary key that is less than or equal to `primary`. If an object could not be found, it will return the `end` iterator. If the table does not exist** it will return `-1`.
* @return An iterator pointing to the `object_type` that has the lowest primary key that is greater than a given `primary` key. If an object could not be found, or if the table does not exist**, it will return the `end` iterator.
*
* Example:
*
Expand Down