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

Develop #326

Merged
merged 4 commits into from
Feb 26, 2024
Merged

Develop #326

merged 4 commits into from
Feb 26, 2024

Conversation

go-jet
Copy link
Owner

@go-jet go-jet commented Feb 26, 2024

No description provided.

sarkan-ag5 and others added 4 commits February 25, 2024 01:20
plus and minus infinity keyword tests implemented

range table tests added

skip cockroach db added

select test case added for range fields

generator modified to generate correct types

generator tests modified to include sample range table

model and template generators modified to support range fields

returning the T in UPPER and LOWER functions

raw ranges implemented

bounds set as optional

dep modified

dependencies modified and issue fixed

range expression with templates implemented

rangeExpression change to make it more type safe

third parameter of constructor function fixed

literals removed, functions added

tests modified

constructor functions used for creating range expressions

NumRange converted to a constructor function from literal

range_lower and range_upper renamed to lower_bound and upper_bound

range literal removed

PlusInfinity and MinusInfinity implemented

int4 and int8 castings added

issues fixed and tests checked

number, ts, tstz literal and cast implemented

date range literal expression modified and raw function used

parent type converted from RangeExpression to Expression

range type implemented for postgres

range column type, function and literal expression implemented

CONTAINS and OVERLAP operations added for range expressions

range expressions implemented
@codecov-commenter
Copy link

codecov-commenter commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 79 lines in your changes are missing coverage. Please review.

Project coverage is 90.10%. Comparing base (a2eb15e) to head (55ed439).
Report is 38 commits behind head on master.

Files Patch % Lines
internal/utils/semantic/version.go 57.14% 10 Missing and 5 partials ⚠️
generator/template/sql_builder_template.go 44.00% 14 Missing ⚠️
generator/sqlite/query_set.go 55.55% 8 Missing and 4 partials ⚠️
generator/template/model_template.go 0.00% 12 Missing ⚠️
internal/jet/column_types.go 35.29% 11 Missing ⚠️
internal/jet/func_expression.go 82.35% 6 Missing ⚠️
generator/postgres/query_set.go 93.47% 2 Missing and 1 partial ⚠️
internal/jet/literal_expression.go 0.00% 2 Missing ⚠️
postgres/expressions.go 0.00% 2 Missing ⚠️
generator/mysql/query_set.go 97.05% 1 Missing ⚠️
... and 1 more

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   90.55%   90.10%   -0.45%     
==========================================
  Files         124      126       +2     
  Lines        7060     7410     +350     
==========================================
+ Hits         6393     6677     +284     
- Misses        515      573      +58     
- Partials      152      160       +8     

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

@go-jet go-jet merged commit 55ed439 into master Feb 26, 2024
3 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