Repository navigation
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12631 +/- ##
==========================================
- Coverage 96.32% 96.26% -0.07%
==========================================
Files 95 95
Lines 9261 9265 +4
Branches 90 90
==========================================
- Hits 8921 8919 -2
- Misses 323 329 +6
Partials 17 17
Continue to review full report at Codecov.
|
209929f to
60e1645
Compare
60e1645 to
478b78b
Compare
| where: { username: 'longUserNAME' } | ||
| }); | ||
| expect(user).to.exist; | ||
| expect(user.username).to.equal("'longUserNAME'"); |
There was a problem hiding this comment.
No idea why the result came out wrapped with quotes, no idea how to trim those via the TSVECTOR class
There was a problem hiding this comment.
That's totally normal the text values are retrieved as words hence these words are surrounded by quotes,
sees also here: https://www.postgresql.org/docs/10/datatype-textsearch.html
|
Hello @oktapodia! I see you are a first-time contributor, thank you for taking the time to help Sequelize! I hope to see more PRs from you in the future! I am so sorry to take so long to review your PR. I am less busy now and will pay more attention not only to your PRs but everyone else's as well. It seems you did not check the allow edits from maintainers checkbox when creating the PR. I tried to update your PR, but got an error 403. So I created a new one: #12955 and I am closing this one. Of course, you are still the author of your commits! Please say something there :) |
Pull Request check-list
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Description of change
Added TSVECTOR datatype and @@ operator for postgresql more information about datatype here:
postgresql.org/docs/current/functions-textsearch.html
Closes #1580, #10956