-
Notifications
You must be signed in to change notification settings - Fork 872
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
select with explicit fields will pack by fake record ? #2290
Comments
This seems a bug of Studio, may you open the very same issue in: https://github.com/orientechnologies/orientdb-studio/issues?state=open |
I don't think this only Studio bug. |
With the console or API? If the console, after the result, can you execute:
|
So the items are present, and by default the collections show only the size. The problem is not in OrientDB but in Studio. |
why Studio ? what I expect the result should like
But now like
That mean a fake record packed it |
I thought you was referring to the collection, sorry. However it's normal. Every time you do a projection in select OrientDB creates a temporary record to host the result. If you do:
You'd have what you expecting. This is to avoid you save back the documents: all the missing fields would be removed. |
sure if I always get all fields~ |
You could also use include() or exclude() functions to remove things from the result set. |
include and exclude seems for embedded fields. |
I suggest should mark this issue to improvement not invalid |
Why do you need partial results? |
Why not ? |
We can't support this because as I said, once back the record could be updated with its rid. This will generate many common pitfalls for users. |
fake record packed again ?
so we need always duel with them ?
I suppose just return @Rid, @Version and roles.
tested version: 1.7-SNAPSHOT (develop) and 1.6.6
The text was updated successfully, but these errors were encountered: