Alvi
Alvi2w ago

Can i retrieve storageId from image url

i want to get the storageid from image url
4 Replies
Convex Bot
Convex Bot2w 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!
erquhart
erquhart2w ago
The image url will not contain the storage id. If you can share a little more on the problem you're trying to solve, there's probably another approach that would work
Alvi
AlviOP2w ago
I have a table column named images where i save an array of storageIds, when i query them i get an array of image urls for those storageIds. I edit them in frontend by adding an element and changing the order, and when sending them to the backend how can i update the table field value correctly with the right order as they are sent, when i don’t know which image url points to which storageId
erquhart
erquhart2w ago
When you query to get the array of urls, have the query return an array of objects with both url and storageId so you can keep track in the client.

Did you find this page helpful?