Loading records count...
} {isSuccess && ( <> - } - type="outline" - className="px-1.5" - disabled={page <= 1 || isLoading} - onClick={onPreviousPage} - /> -Page
-Page
+of {totalPages.toLocaleString()}
+ + } + type="outline" + className="px-1.5" + disabled={page >= maxPages || isLoading} + onClick={onNextPage} + /> + +of {totalPages}
- } - type="outline" - className="px-1.5" - disabled={page >= maxPages || isLoading} - onClick={onNextPage} - /> -{`${data.count.toLocaleString()} ${ - data.count === 0 || data.count > 1 ? `records` : 'record' - }`}
- -- The currently selected lines will be deselected, do you want to proceed? +
+ {`${data.count.toLocaleString()} ${ + data.count === 0 || data.count > 1 ? `records` : 'record' + }`}{' '} + {data.is_estimate ? '(estimated)' : ''}
- -- The currently selected lines will be deselected, do you want to proceed? -
-+ The currently selected lines will be deselected, do you want to proceed? +
++ The currently selected lines will be deselected, do you want to proceed? +
++ {rowsCountEstimate === null + ? `If your table has a row count of greater than ${THRESHOLD_COUNT.toLocaleString()} rows, + retrieving the exact count of the table may cause performance issues on your database.` + : `Your table has a row count of greater than ${THRESHOLD_COUNT.toLocaleString()} rows, and + retrieving the exact count of the table may cause performance issues on your database.`} +
+