Adding countRows parameter to external API for counting.
This commit is contained in:
parent
1b36d8af51
commit
f3ca1d0b1e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue