You are here: API Reference > Objects > QueryResult

QueryResult

This object provides the result of the query call.

Fields

For information on the field types, see Field Types.

Field Description
done A boolean value indicating whether the query is complete (true) or not (false). You can use this value as a loop condition while iterating through the results of your query.
queryLocator A specialized string of type zns: QueryLocator that essentially identifies where in the record the query “cursor” is. This is the identifier to use if there are more records.
records An array of zObjects. Each item in the array is an object of the specified type containing data specified by the query string.
size An int indicating the size of the query as a total number of rows retrieved. You can use this to check whether any rows were retrieved in the query. If size > 0, then rows were retrieved. If size = 0, then no rows were retrieved.

 

Copyright © 2008-2009 Zuora, Inc.