Skip to content

Commit

Permalink
fix: changed to be greater than, not greater than or equal to
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Aug 6, 2020
1 parent 4d018f6 commit 7f1a12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export class Connection extends JSForceConnection {
.on('error', err => reject(err))
.on('end', () => {
const totalSize = getNumber(query, 'totalSize') || maxFetch;
if (totalSize >= records.length) {
if (totalSize > records.length) {
process.emitWarning(
`The query result is missing ${totalSize -
records.length} records due to a 10,000 limit for performance reasons. Increase the number of records returned by setting the config value "maxQueryLimit" or the environment variable "SFDX_MAX_QUERY_LIMIT" to ${totalSize} or greater than 10,000.`
Expand Down

0 comments on commit 7f1a12d

Please sign in to comment.