We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@list
server
Describe the bug When inserting a list of values using the @container type of @list, I expect to get back the same order of values in query results.
@container
To Reproduce
{ "ledger": "list-order-test", "@context": { "ex": "http://example.org/ns/", "ex:age": { "@container": "@list" } }, "insert": [ { "@id": "zeti", "ex:age": [97, 19, 97, 19, 97] } ] }
{ "from": "list-order-test", "@context": { "ex": "http://example.org/ns/", "ex:age": { "@container": "@list" } }, "selectDistinct": { "?s": ["*"] }, "where": { "@id": "?s", "ex:age": "?age" } }
Expected result
[ { "@id": "zeti", "ex:age": [ 97, 19, 97, 19, 97 ] } ]
Actual result
[ { "@id": "zeti", "ex:age": [ 19, 19, 97, 97, 97 ] } ]
The text was updated successfully, but these errors were encountered:
@Jackamus29 & I confirmed that even the exact test in db (https://github.com/fluree/db/blob/1507c85ab3490c4419a65e236183317a2b43196b/test/fluree/db/query/json_ld_basic_test.clj#L131-L149) when issued via server does not preserve order in query results.
db
Sorry, something went wrong.
Related to #74
Confirmed fix from fluree/db#720 Thanks @dpetran!
No branches or pull requests
Describe the bug
When inserting a list of values using the
@container
type of@list
, I expect to get back the same order of values in query results.To Reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: