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 record internal field in queries [moved] #71

Closed
lvca opened this issue Dec 10, 2012 · 0 comments
Closed

Support record internal field in queries [moved] #71

lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 71 moved from a Google Code project.
Added by 2010-07-22T14:03:15.000Z by l.garu...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).

Original labels: Type-Enhancement, Priority-High, v0.9.21

Original description

Each record has these (hidden) fields:
- rid, as the record id
- version
- class

It would be great to support these hidden field in queries. In this way you can traverse graphs starting from a vertex:

SELECT FROM OGraphVertex WHERE @rid = 3:0 AND TRAVERSE(0,5) (name = 'Luke')

or execute a non-polymorphic query:

SELECT FROM OGraphVertex WHERE @class = 'MyVertex1' OR @class = 'MyVertex2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant