Not sure what you are saying is the issue. data i...
# javascript
g
Not sure what you are saying is the issue. data is an array back from Supabase select whether 0,1 or more items.
y
I guess I'm not quite sure how to grab the data inside after I return it.
I was thinking that it would just export it as "regular" (or at least what I'm used to JSON) where i could call it via data[0].id
g
Should work as firstObjId = Job_Postings[0].id for the first obj returned. If you want to search by id of all the objects in the array you have to do something like: let objIndex = data.findIndex((obj => obj.id === id)); then data[objIndex] to get the object row.
y
I mean this gets the wrapping gone from the object. But when I try and do
console.log(Job_Postings.Title)
the console doesent out put anything.
one sec let me check something
yup when it logs Job_Postings.Title it reads back as undefined
wait
omfg
g
you have to have Job_Postings[0].Title
y
^^^
yup
I'm retarted lmao
thank you so much
@User If you got a paypal ill drop you $10 for helping me I've been in flames the past 3 days xd
g
Thanks, but no on money.
y
okay well just be sure to know that you;ve saved me so many headaches lol
I'm forever in your debt lol