mrcentigrade
mrcentigrade
XXata
Created by mrcentigrade on 11/11/2024 in #help
summarize pagination
done 👍 thank you.
10 replies
XXata
Created by mrcentigrade on 11/11/2024 in #help
summarize pagination
i looked at the type signatures for summarize and aggregate api responses and they both don't include meta. this makes me apprehensive in using xata for business intelligence dashboard use cases. these usually feature aggregated results and i get definitely foresee need to paginate these api results. my current use-case is more transactional so i can live with maybe pre-populating the records and use getPaginated api on it. i hope there is some way to support getPaginated to these apis like it's done for the query api. please let me know if i can put a feature request or comment on one if there is one already. 🫡
10 replies
XXata
Created by mrcentigrade on 11/11/2024 in #help
summarize pagination
thank you. that will be really helpful.
10 replies
XXata
Created by mrcentigrade on 11/11/2024 in #help
summarize pagination
oh ok. so at the moment there's no way for me to view the next page of results? 😦
10 replies
XXata
Created by mrcentigrade on 11/11/2024 in #help
summarize pagination
thank you. i got it. i'm struggling to get the nextPage though. do i use offset for this?
const records = await xata.db.sales.summarize({
pagination: {
size: 50 // return up to 50 results
offset: 100
}
});
const records = await xata.db.sales.summarize({
pagination: {
size: 50 // return up to 50 results
offset: 100
}
});
i'm unable to find any example.
10 replies
XXata
Created by mrcentigrade on 11/2/2024 in #help
is branch-ing ready for production use.
gotcha. thanks for the link!
3 replies
XXata
Created by mrcentigrade on 8/12/2024 in #help
bool type is missing in web-ui dropdown
that was quick 🫡
6 replies
XXata
Created by mrcentigrade on 8/12/2024 in #help
bool type is missing in web-ui dropdown
ok gotcha
6 replies
XXata
Created by mrcentigrade on 8/12/2024 in #help
bool type is missing in web-ui dropdown
No description
6 replies