hasPendingChanges

open fun hasPendingChanges(): QueryFilter

The function creates a QueryFilter to check if an entity has any pending change requests in the request queue.

hasPendingChanges is different from isLocal based on whether or not the change requests have been sent to the backend. An entity that has changes in the request queue that have not been sent will be both local and pending. When the changes in the request queue have been sent to the backend but the results have not been received by a download operation, the entity will be local but NOT pending.

Return

An application of the Offline OData "sap.hasPendingChanges" function.