Itsacoup
Itsacoup3w ago

Searching arrays in Data dashboard

If I have a record type with an array of id's
{
_creationTime: 1737401929651.7922,
_id: "ns7e3hnk37vk38bwg84bpfgt5x78rpkn",
attr: [
"nx7dzzypg0r93tw355sk1etabh78rsvd",
"nx7fyax8kyn0sjst916g34xrzx78srzd",
"nx7eqpjt0tn5b2nxaq4y3fbyjh78r46e"
],
...
}
{
_creationTime: 1737401929651.7922,
_id: "ns7e3hnk37vk38bwg84bpfgt5x78rpkn",
attr: [
"nx7dzzypg0r93tw355sk1etabh78rsvd",
"nx7fyax8kyn0sjst916g34xrzx78srzd",
"nx7eqpjt0tn5b2nxaq4y3fbyjh78r46e"
],
...
}
Using the Filter in the data dashboard, is it possible to filter records where the attr array includes "nx7eqpjt0tn5b2nxaq4y3fbyjh78r46e"? To clarify, possible using some value with one of these? - equals - not equal - > - < - >= - <= - is type - is not type
3 Replies
Convex Bot
Convex Bot3w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
lee
lee3w ago
no that's not possible. you can write whatever filter you want though in a custom query https://docs.convex.dev/dashboard/deployments/data#writing-custom-queries
Data | Convex Developer Hub
Data Dashboard Page
Itsacoup
ItsacoupOP3w ago
Thank!

Did you find this page helpful?