Adding countRows parameter to external API for counting.
This commit is contained in:
parent
1b36d8af51
commit
f3ca1d0b1e
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ export async function search(
|
||||||
}
|
}
|
||||||
let rows = await handleRequest(Operation.READ, tableId, parameters)
|
let rows = await handleRequest(Operation.READ, tableId, parameters)
|
||||||
let totalRows: number | undefined
|
let totalRows: number | undefined
|
||||||
if (true) {
|
if (countRows) {
|
||||||
totalRows = await handleRequest(Operation.COUNT, tableId, parameters)
|
totalRows = await handleRequest(Operation.COUNT, tableId, parameters)
|
||||||
}
|
}
|
||||||
let hasNextPage = false
|
let hasNextPage = false
|
||||||
|
|
Loading…
Reference in a new issue