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 FOREIGN KEY constraints #34

Open
frumpled opened this issue Dec 7, 2019 · 0 comments
Open

Support FOREIGN KEY constraints #34

frumpled opened this issue Dec 7, 2019 · 0 comments

Comments

@frumpled
Copy link

frumpled commented Dec 7, 2019

Add support for FOREIGN KEY.

Ex/

CREATE TABLE Orders (
    OrderID int NOT NULL,
    OrderNumber int NOT NULL,
    PersonID int,
    PRIMARY KEY (OrderID),
    FOREIGN KEY (PersonID) REFERENCES Persons(PersonID)
);

As documented here:
https://www.w3schools.com/sql/sql_foreignkey.asp

@frumpled frumpled changed the title Support for FOREIGN key constraints Support for FOREIGN KEY constraints Dec 7, 2019
@frumpled frumpled changed the title Support for FOREIGN KEY constraints Support FOREIGN KEY constraints Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant