Is there a way of querying only specific attributes using findByPK method ?

Open
#202 1 comment 0 reactions 1 assignee View on GitHub

@evanrittenhouse is already working on this.

Since Oct 9, 2022.

Assessment

This issue has not been assessed yet.

Description

Issue Creation Checklist

[x] I have read the contribution guidelines

Issue Description

What was unclear/insufficient/not covered in the documentation

There isn't a clear description of options for the findByPk function. No clear option to query specific attributes

Write here.

If possible: Provide some suggestion on how we can enhance the docs

Description of all parameters for the function.

Dominant language
HTML
Stars
30
Forks
170
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sequelize/website

All issues in sequelize/website

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.