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

Use created database id on foreign key check as default database id #921

Merged
merged 2 commits into from
Aug 2, 2017

Conversation

roiemir
Copy link
Contributor

@roiemir roiemir commented Jul 27, 2017

No description provided.

@codecov-io
Copy link

codecov-io commented Jul 27, 2017

Codecov Report

Merging #921 into develop will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #921      +/-   ##
===========================================
+ Coverage    67.95%   67.99%   +0.04%     
===========================================
  Files            1        1              
  Lines         9915     9915              
  Branches      2965     2965              
===========================================
+ Hits          6738     6742       +4     
+ Misses        3177     3173       -4
Impacted Files Coverage Δ
dist/alasql.fs.js 67.99% <ø> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4a684a...afaeb0e. Read the comment docs.

Copy link
Member

@mathiasrw mathiasrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing! its really appreciated.

test/test616.js Outdated
db.exec("INSERT INTO Parent(ParentId) VALUES(1)");
db.exec("INSERT INTO Child(ChildId) VALUES(1)");
done();
});
Copy link
Member

@mathiasrw mathiasrw Jul 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for also including a test.

We need to also include tests demonstrating aspects like

  • Has data has been stored in parent correctly?
  • Has data has been stored in child correctly?
  • A scenario where the reference part is actively demonstrated (normally by doing something that gives one result with the reference and another result without the reference)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just an exception fix

@mathiasrw
Copy link
Member

Awesome - thanks 👍

@mathiasrw mathiasrw merged commit 0638297 into AlaSQL:develop Aug 2, 2017
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

Successfully merging this pull request may close these issues.

3 participants