Get all records using a!queryRecordType()

How to get all records using a!queryRecordType() since batch size -1 is not applicable here therefor any hard coding the batch size might fail in some scenarios.

Help will be appreciated..

  Discussion posts and replies are publicly visible