Filter data with "includes" in array

  • julienboid-1295114974724620320

    Julien

    6 months ago

    Hi, I’m working on a scenario where I need to filter events based on their unique IDs. I have an array of event IDs, and I want the system to only let through those events whose IDs match the ones in a array. The goal is to ensure that only the events included in the predefined list are processed.

    Specifically, I’d like to understand how to effectively compare the event objects and filter based on this list.

    I have created data exemple on a screenshot

    Thanks in advance for your help!
    1295114974913368116-
    ✅1
  • lucasg-1295117084669509754

    Lucas G

    6 months ago

    Your input for Includes is not an array
  • 1295117207822405733-
    🔥1
  • The array would be your list of Ids
  • julienboid-1295121196446384264

    Julien

    6 months ago

    arrrf 😓 It seems so simple now that you’ve said it. Thank you very much Lucas, I really have internal logic problems 🧠🤪

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.