API Reference > imodeljs-common > ECSQL > QueryQuota QueryQuota Interface The desired ECSql query quota constraint. It is not guaranteed exactly but will be met as accurately as possible as long as it narrows the constraints imposed by the backend. Properties Name Type Description maxMemoryAllowed undefined | number Maximum size of result in bytes after which query will be stopped maxTimeAllowed undefined | number Maximum time in seconds after which query will be stopped Defined in core/common/src/Paging.ts Line 12 Last Updated: 15 June, 2021