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

create an insert function that is not a macro to compare to macro alt… #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RobStallion
Copy link
Member

@RobStallion RobStallion commented Apr 25, 2019

@nelsonic following our convo I created an insert function that is not a macro to compare to macro alternative

@codecov
Copy link

codecov bot commented Apr 25, 2019

Codecov Report

Merging #26 into master will decrease coverage by 7.23%.
The diff coverage is 20%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   59.09%   51.85%   -7.24%     
==========================================
  Files           8        9       +1     
  Lines          22       27       +5     
==========================================
+ Hits           13       14       +1     
- Misses          9       13       +4
Impacted Files Coverage Δ
lib/append/address.ex 100% <ø> (ø) ⬆️
lib/append/aol.ex 20% <20%> (ø)

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 9104b2d...d57920b. Read the comment docs.

# alog doesn't have entry_id as a required_field, it just ensures that an
# entry_id is added to the changeset.
# see https://github.com/dwyl/alog/blob/master/lib/alog.ex#L112
# :entry_id
Copy link
Member

Choose a reason for hiding this comment

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

we need make a couple of data transformation tables for this example to explain what the primary key of each record is so that:
a) each revision of the address record is unique
b) the address for a given person can be looked up by ID and we can see the history of the record.

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.

2 participants