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 postgres json literal #161

Merged
merged 2 commits into from
Jun 6, 2022
Merged

Add postgres json literal #161

merged 2 commits into from
Jun 6, 2022

Conversation

wexder
Copy link
Contributor

@wexder wexder commented Jun 4, 2022

Json types are crucial for postgres. This PR add support to easily cast golang string as postgres json type.

Solves #160.

@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2022

Codecov Report

Merging #161 (11b0a68) into master (38b6caf) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
- Coverage   92.60%   92.58%   -0.03%     
==========================================
  Files         115      115              
  Lines        6846     6852       +6     
==========================================
+ Hits         6340     6344       +4     
- Misses        405      407       +2     
  Partials      101      101              
Impacted Files Coverage Δ
postgres/literal.go 92.30% <66.66%> (-3.35%) ⬇️

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 38b6caf...11b0a68. Read the comment docs.

@go-jet go-jet changed the base branch from master to develop June 6, 2022 09:03
@go-jet
Copy link
Owner

go-jet commented Jun 6, 2022

Thanks, looks good.

@go-jet go-jet merged commit 879c2eb into go-jet:develop Jun 6, 2022
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