1
0
Fork 0
mirror of synced 2024-08-05 13:21:26 +12:00

Adding countRows parameter to external API for counting.

This commit is contained in:
mike12345567 2024-06-14 19:01:20 +01:00
parent 1b36d8af51
commit f3ca1d0b1e

View file

@ -83,7 +83,7 @@ export async function search(
}
let rows = await handleRequest(Operation.READ, tableId, parameters)
let totalRows: number | undefined
if (true) {
if (countRows) {
totalRows = await handleRequest(Operation.COUNT, tableId, parameters)
}
let hasNextPage = false