Hi People,
We need to clear 2000 register of a database?, how i can do fast?
thanks
Hi People,
We need to clear 2000 register of a database?, how i can do fast?
thanks
Best answer by Nicole Chiroli
Hey,
You can find them through the API as well like this:
{
table_records(first: 30, table_id: "s5UuWo_N") {
edges {
node {
id
title
}
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
}
It is important to stress that, if you are going to check it through API, we have pagination so you can see all cards within the phase. The current limit of cards/records shown is 30 cards per phase and 50 cards per pipe/db.
Pagination works like this; you will set the pageInfo attribute and it will return the "endcursor", with the endcursor you can see the other cards within that phase, putting it as an argument in the "after" command.
Example:{
phase(id: 6158453) {
name
cards (first:30 after: "WzQzODY0NDcwXQ==") {
pageInfo{
endCursor
hasNextPage
}
edges {
node {
fields{
value
field{
id
label
}
}
id
title
createdAt
done
pipe {
id
name
}
creatorEmail
current_phase {
id
name
}
}
}
}
}
}
You can also create an ID field and check from inside the database:
Hope it helps :)!
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.