id | name |
---|---|
1111 | The Beatles |
Last active
December 5, 2015 16:25
-
-
Save diegodurs/44d95fdd8ffef70b5ac2 to your computer and use it in GitHub Desktop.
What the heck is EventSourcing & CQRS ? SQL tables
id | user_id | recording_id | performance |
---|---|---|---|
7171 | 2222 | 3131 | ‘singer’ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO artists VALUES name=’Beatles’, id=1111; | |
UPDATE artists SET name=’The Beatles’ WHERE id=1111; | |
INSERT INTO performance_claims VALUES user_id=2222, performance=’singer’, id=7171, recording_id=3131; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment