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

fix: fix #263 upsert attributes should use defaultValue while there i… #265

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

JimmyDaddy
Copy link
Collaborator

…s no value assigned

@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2022

Codecov Report

Merging #265 (6b90d0c) into master (e20a035) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #265   +/-   ##
=======================================
  Coverage   97.45%   97.46%           
=======================================
  Files          44       44           
  Lines        3145     3157   +12     
=======================================
+ Hits         3065     3077   +12     
  Misses         80       80           
Impacted Files Coverage Δ
src/bone.js 97.98% <100.00%> (+0.03%) ⬆️
src/collection.js 100.00% <100.00%> (ø)
src/constants.js 100.00% <100.00%> (ø)
src/realm.js 100.00% <100.00%> (ø)
src/spell.js 95.17% <100.00%> (ø)
src/drivers/abstract/spellbook.js 96.61% <0.00%> (-0.05%) ⬇️
src/drivers/mysql/spellbook.js 97.05% <0.00%> (+0.18%) ⬆️

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 e20a035...6b90d0c. Read the comment docs.

src/bone.js Outdated Show resolved Hide resolved
setTimeout(() => {
resolve(true);
}, 1000);
});
Copy link
Owner

Choose a reason for hiding this comment

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

why is this sleep necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Verifying createdAt will not be updated at upsert

src/contants.js Outdated Show resolved Hide resolved
src/realm.js Outdated Show resolved Hide resolved
src/contants.js Outdated Show resolved Hide resolved
@cyjake cyjake merged commit 7b6bf3d into master Jan 26, 2022
@cyjake cyjake deleted the fix/fix_upsert_attribute branch January 26, 2022 06:31
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