Skip to main content

Fuzzy search by name and paginaton using boards query

  • March 27, 2024
  • 4 replies
  • 162 views

Hi,

I have two questions.

  1. Does the following Graphql Query return all boards without giving any pagination parameter? I think it returns all boards since there is no pagination cursor.
query {
  boards {
    name
    id
  }
}
  1. Can I do a fuzzy search by name like the following?. As it seems there is no argument which takes the name and does a filter.
query {
  boards(name: "foo board") {
    name
    id
  }
}

4 replies

  • Author
  • Participating Frequently
  • March 27, 2024

I am doing this feature request due to the fact that I am developing an app and I need a board by name. Doing the search on client side might be a solution for less board data. If there are many boards, fetching all boards from the server and doing client side search is not feasible I guess.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 27, 2024

Hello there @apsimos,

  1. That query will give you 25 boards since that is the default limit. You can use “limit” and “page” as parameters as explained here to paginate through the results.

  2. That is not possible. You can specify the ID of the board, but not the name.

To create a new request for point 2, please do so in this section so that other people can vote for it! Please remember to add as much information as possible about your use case and why you need it 😁

Cheers,
Matias


  • Author
  • Participating Frequently
  • March 27, 2024

Thank you @Matias.Monday.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • March 28, 2024

Happy to help @apsimos !