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

Add uniq index on name+args #13

Closed
searls opened this issue Aug 18, 2016 · 0 comments
Closed

Add uniq index on name+args #13

searls opened this issue Aug 18, 2016 · 0 comments

Comments

@searls
Copy link
Member

searls commented Aug 18, 2016

We want to make sure that name, args, and result have a unique constraint.

  • If we try to insert and this is violated, then select that row and compare the results:
    • If the results match, it's just an extraneous record, so do nothing
    • if the results do not match, then raise, print the recorded & new result value and explain the mismatch and suggest the user figure it out (e.g. write a comparator or delete the old record with Suture.delete from Verify: API to delete a row from calls #10)
@searls searls added this to the Development Mode milestone Aug 18, 2016
@searls searls closed this as completed in 6f84cf6 Aug 20, 2016
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