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

Storing record data in a dict attribute instead of OrientRecord itself #27

Closed
DeividasJackus opened this issue Nov 14, 2014 · 1 comment

Comments

@DeividasJackus
Copy link

My suggestion would be to have record data returned in a dict accessible through OrientRecord.data and keeping metadata like @Rid and @Version separate (OrientRecord.rid, OrientRecord.version). Returning query data as a dict instead of attributes should result in slightly more intuitive and easier data interaction during development.

@Ostico
Copy link
Collaborator

Ostico commented Nov 16, 2014

Now the OrientRecord returns as a dictionary, the data are stored inside oRecordData key.
For backward compatibility, property access is maintained also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants