Lothar
02/18/2022, 6:44 PMsupabase
.from('ingredient-prints')
.select(`token,
ingredients(key)
`)
.in('token', tokenIds)
i'm getting back this response:
{
token: '3YXoTg2JT6Qb9m4P6wd2FYP9fFUoeTCt4KLK6BmpsFgf',
ingredients: { key: 'doom-chalice-holo' }
}
Is there a way to get them like this?
{
token: '3YXoTg2JT6Qb9m4P6wd2FYP9fFUoeTCt4KLK6BmpsFgf',
key: 'doom-chalice-holo'
}
(basically making the joint table column be at the same level)silentworks
02/19/2022, 4:40 PM