Hey,
i have the following use case:
I have a table with linked records
{
"sql": "SELECT * FROM FOOTABLE",
"convert_keys": true
}
this will return
"results": [
{
"name": "foo",
"bar": [
{
"row_id": "b0B6Z-UbRMa6YFHvar7U5w",
"display_value": "foo"
}
],
"baz": [
{
"row_id": "IRZuGQyORkSl_mznoiBnug",
"display_value": "baz"
}
],
"foobar": [
{
"row_id": "EgJNNpKxTnqRiccjGyR3WA",
"display_value": "foobar"
}
],
then some of those rows have more linked records which show up as:
"foo variants": [
"e-UEe04ySEeinrKGNrib1A",
"dLdUpBA3Q_Wdq_MhrJM2MQ",
"VnrUzy6KR4KNrqSUMRWhLg"
"YXgK041HTk-1pqi-ZohnEw",
"WUSab6wfSNC23y8HpNaT6g",
" BYtwQ4Y8QMC9ckq1ULSOwA" ,
" fNYj4gOfTey2KxUGekizrQ"|
],
"foo Ingredients": [
"bt2zrqI7SWyqT5ur6xzUBQ",
"YsnPb-XOS1Wbps7-bNIUGg",
" JErxddyoTrm15DMiJZlauA"
].
since left joins are not supported the only way to fetch the nested/linked data would be to make extra requests for each column id, which doesn’t really scale up since sometimes i would need more than 100 requests to get all the linked data i need.
I don’t see a solution in the api.
Am i overseeing something?
Is there a workaround for this?
Regards