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

Support $index query option #1272

Closed
xuzhg opened this issue Oct 1, 2018 · 1 comment
Closed

Support $index query option #1272

xuzhg opened this issue Oct 1, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@xuzhg
Copy link
Member

xuzhg commented Oct 1, 2018

Short summary (3-5 sentences) describing the issue.

Assemblies affected

OData .Net lib 7.x.

Requirement

OData spec says that:

5.1.10 System Query Option $index
The $index system query option allows clients to do a positional insert into a collection annotated with using the Core.PositionalInsert term (see [OData-VocCore]). The value of the $index system query option is the zero-based ordinal position where the item is to be inserted. The ordinal of items within the collection greater than or equal to the inserted position are increased by one. A negative ordinal indexes from the end of the collection, with -1 representing an insert at the end of the collection.

The [OData-ABNF] index syntax rule defines the formal grammar of the $index query option.

Please investigate, design, implement the $index query option.

@xuzhg xuzhg added the feature label Oct 1, 2018
@xuzhg xuzhg added this to the 7.5.2 milestone Oct 3, 2018
@xuzhg xuzhg self-assigned this Oct 4, 2018
@xuzhg
Copy link
Member Author

xuzhg commented Oct 5, 2018

Merged

@xuzhg xuzhg closed this as completed Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant