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 function Partition for Model of package gdb #2989

Merged
merged 6 commits into from
Oct 8, 2023
Merged

add function Partition for Model of package gdb #2989

merged 6 commits into from
Oct 8, 2023

Conversation

arieslee
Copy link
Contributor

add Partition method.
Example:
dao.User.Ctx(ctx).Partition(“p1","p2").All()

change set -> sets

@houseme houseme requested a review from gqcn September 27, 2023 01:22
@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (02f1cc7) 77.37% compared to head (9e9631c) 77.32%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2989      +/-   ##
==========================================
- Coverage   77.37%   77.32%   -0.06%     
==========================================
  Files         645      645              
  Lines       54302    54347      +45     
==========================================
+ Hits        42018    42025       +7     
- Misses      10175    10213      +38     
  Partials     2109     2109              
Flag Coverage Δ
go-1.18-386 77.38% <66.66%> (-0.01%) ⬇️
go-1.18-amd64 77.38% <66.66%> (-0.05%) ⬇️
go-1.19-386 77.28% <66.66%> (-0.02%) ⬇️
go-1.19-amd64 77.25% <66.66%> (-0.01%) ⬇️
go-1.20-386 77.38% <66.66%> (-0.01%) ⬇️
go-1.20-amd64 77.30% <66.66%> (+0.06%) ⬆️
go-1.21-386 77.31% <66.66%> (-0.12%) ⬇️
go-1.21-amd64 77.36% <66.66%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
database/gdb/gdb_model.go 60.76% <66.66%> (-14.24%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

database/gdb/gdb_model.go Outdated Show resolved Hide resolved
@arieslee arieslee requested a review from gqcn October 8, 2023 01:10
@gqcn gqcn changed the title add Partition method add function Partition for Model of package gdb Oct 8, 2023
@gqcn gqcn merged commit 00e83fe into gogf:master Oct 8, 2023
12 checks passed
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