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 SQL round function #671

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Add SQL round function #671

merged 3 commits into from
Aug 4, 2023

Conversation

IgnisDa
Copy link
Contributor

@IgnisDa IgnisDa commented Aug 4, 2023

PR Info

New Features

Adds the SQL ROUND function.

Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

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

@IgnisDa thank you for the PR. Small comment)

src/func.rs Outdated Show resolved Hide resolved
Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

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

@IgnisDa thank you ! LGTM!

@IgnisDa
Copy link
Contributor Author

IgnisDa commented Aug 4, 2023

@ikrivosheev Could you please merge this? I would like to use this in my code.

@ikrivosheev ikrivosheev merged commit 42d0bd5 into SeaQL:master Aug 4, 2023
20 checks passed
@ikrivosheev
Copy link
Member

@ikrivosheev Could you please merge this? I would like to use this in my code.

Done)

@tyt2y3
Copy link
Member

tyt2y3 commented Aug 4, 2023

Cool. Something unrelated, usually I'd prefer "squash and merge".

@github-actions
Copy link

🎉 Released In 0.30.1 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

IgnisDa added a commit to IgnisDa/ryot that referenced this pull request Aug 26, 2023
I was the one who implemented this: SeaQL/sea-query#671!
IgnisDa added a commit to IgnisDa/ryot that referenced this pull request Aug 28, 2023
* build(backend): update deps

* feat(backend): use new database fn

I was the one who implemented this: SeaQL/sea-query#671!

* feat(backend): config param for measurements

* feat(frontend): allow toggling measurements

* try(backend): checking sea orm PR

* Revert "try(backend): checking sea orm PR"

This reverts commit f9d602c.

* feat(*): resolver to get user to exercise details

* chore(graphql): add user exercise details query

* feat(backend): increase worker count for application jobs

* feat(frontend): add link to exercise details page

* feat(frontend): apply typography styles

* feat(frontend): display exercise instructions

* fix(frontend): handle mobile layout for instructions

* refactor(backend): change name of fn

* feat(backend): return history for exercise

* feat(frontend): display small part of history

* refactor(frontend): change component name

* refactor(backend): calculate using prefs

* fix(frontend): import path

* feat(backend): take user unit prefs into account

* refactor(backend): change name of fn

* Revert "feat(backend): take user unit prefs into account"

This reverts commit c617a19.

* feat(frontend): handle units before commit

* fix(backend): append history to start of workout

* feat(*): store workout unit in db

* try(backend): unitless measurements

* Revert "try(backend): unitless measurements"

This reverts commit de0d3fc.

* fix(backend): change number of reps to `usize`

* refactor(frontend): change name of property

* feat(backend): store unit system in backend

* feat(*): remove individual refs to separate weight and distance

* docs(backend): add info to fn

* feat(frontend): send calcs in correct format

* feat(*): calculate metrics on the backend

* fix(backend): conversions not being returned

* try(backend): did something

* Revert "try(backend): did something"

This reverts commit 9e467ab.

* fix(frontend): remove useless imports

* refactor(backend): add required attributes

try(backend): change select type

feat(backend): use new derive macro

* Revert "refactor(backend): add required attributes"

This reverts commit 8dae1ec.

* feat(frontend): display lifetime stats

* feat(graphql): get lot for set

* feat(frontend): display stats in history

* chore(*): remove user preferences

* chore(backend): add fixme comments

* chore(frontend): remove select box for unit system

* feat(frontend): display more stat

* build(backend): bump version

* build(frontend): update deps

* build(docs): update deps

* fix(docs): use correct path

* chore(docs): make info clearer

* feat(backend): allow updating exercises
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.

SQL ROUND function
3 participants