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

feat(typings): model.count with group by #10763

Merged

Conversation

mirkojotic
Copy link
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Solves #10757 hopefully :)

I'm not well versed in typescript but if there are changes to make I'm up for it. As always if it's not useful please ignore.

Description of change

@codecov
Copy link

codecov bot commented Apr 12, 2019

Codecov Report

Merging #10763 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10763      +/-   ##
==========================================
- Coverage   96.33%   96.33%   -0.01%     
==========================================
  Files          93       93              
  Lines        8993     8992       -1     
==========================================
- Hits         8663     8662       -1     
  Misses        330      330
Impacted Files Coverage Δ
lib/dialects/mssql/connection-manager.js 87.01% <0%> (-0.17%) ⬇️

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 e879460...28e5536. Read the comment docs.

Copy link
Contributor

@SimonSchick SimonSchick left a comment

Choose a reason for hiding this comment

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

Needs test.

@SimonSchick SimonSchick added pr:needs test type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense. labels Apr 13, 2019
@mirkojotic
Copy link
Contributor Author

mirkojotic commented Apr 13, 2019 via email

@SimonSchick
Copy link
Contributor

Just create something like count.ts into the type test folder and write 2 lines (or more) that assert that the overloads return the correct values, please keep in mind that the code isn't executed, it just needs to compile.

@sushantdhiman
Copy link
Contributor

🎉 This PR is included in version 5.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released type: typescript For issues and PRs. Things that involve typescript, such as typings and intellisense.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants