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

reactions.countが効くようにする #58

Open
hakatashi opened this issue Jul 15, 2024 · 1 comment
Open

reactions.countが効くようにする #58

hakatashi opened this issue Jul 15, 2024 · 1 comment
Assignees

Comments

@hakatashi
Copy link
Member

#43 以降、MongoDBのデータ構造を変更したためにreactions.countを用いた検索が効かなくなっている。

reactions.countで絞りたいという要望も多いため、何らかの形で対応したい

@hakatashi hakatashi self-assigned this Jul 15, 2024
@hakatashi
Copy link
Member Author

reactions: [
  {
    name: 'koresuki',
    user: 'Uhoge',
  },
  {
    name: 'koresuki',
    user: 'Ufuga',
  },
  {
    name: '+1',
    user: 'Uhoge',
  },
],
reactionsCount: {
  koresuki: 2,
  '+1': 1,
},

こんな感じかな~

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

No branches or pull requests

1 participant