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

New command to create links starting from JOINs [moved] #46

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

New command to create links starting from JOINs [moved] #46

lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 46 moved from a Google Code project.
Added by 2010-06-17T17:22:00.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-Low, v0.9.18

Original description

Most (almost all) users comes from Relational model. They have products and already made database.

Surely one fundamental feature to help migrations from the RDBMS is the convertion of JOINs (and namely foreign keys) to OrientDB LINKS.

It will be created an ad-hoc command such as:

create link from <source-class>.<source-field> to <dest-class>.<dest-field>

Example:

create link from Post.user to Post.id

It will create also the property as LINK in the schema.

After that you could use:

SELECT FROM Post WHERE Post.user.name = 'Jay'
@lvca lvca closed this as completed Dec 10, 2012
robfrank pushed a commit that referenced this issue Oct 15, 2015
tglman pushed a commit that referenced this issue Feb 21, 2024
tglman pushed a commit that referenced this issue Feb 21, 2024
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