Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify wording of eq operator applied to ordered collections of entities #1995

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/odata-url-conventions/odata-url-conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ <h5 id="51111-equals"><a id="Equals" href="#Equals">5.1.1.1.1 Equals</a></h5>
<p>The <code>eq</code> operator returns <code>true</code> if the left operand is equal to the right operand, otherwise it returns <code>false</code>.</p>
<p>When applied to operands of entity types, the <code>eq</code> operator returns <code>true</code> if both operands represent the same entity, or both operands represent <code>null</code>.</p>
<p>When applied to operands of complex types, the <code>eq</code> operator returns <code>true</code> if both operands have the same structure and same values, or both operands represent <code>null</code>.</p>
<p>When applied to ordered collections, the <code>eq</code> operator returns <code>true</code> if both operands have the same cardinality and each member of the left operand is equal to the corresponding member of the right operand.</p>
<p>When applied to ordered collections, the <code>eq</code> operator returns <code>true</code> if both operands have the same cardinality and each member of the left operand is equal to the member of the right operand at the same index.</p>
<p>For services that support comparing unordered collections, the <code>eq</code> operator returns <code>true</code> if both operands are equal after applying the same ordering on both collections.</p>
<p>Each of the special values <code>null</code>, <code>-INF</code>, and <code>INF</code> is equal to itself, and only to itself.</p>
<p>The special value <code>NaN</code> is not equal to anything, even to itself.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-url-conventions/odata-url-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ operands represent `null`.

When applied to ordered collections, the `eq` operator returns `true` if
both operands have the same cardinality and each member of the left
operand is equal to the corresponding member of the right operand.
operand is equal to the member of the right operand at the same index.

For services that support comparing unordered collections, the `eq`
operator returns `true` if both operands are equal after applying the same
Expand Down
2 changes: 1 addition & 1 deletion odata-url-conventions/5 Query Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ operands represent `null`.

When applied to ordered collections, the `eq` operator returns `true` if
both operands have the same cardinality and each member of the left
operand is equal to the corresponding member of the right operand.
operand is equal to the member of the right operand at the same index.

For services that support comparing unordered collections, the `eq`
operator returns `true` if both operands are equal after applying the same
Expand Down