---
schema_version: "1"
id: 9d767361cdb518771124cf9022ba827b93bf17e2b7f71084766006b6ed25a048
title: GetUpdatedResult Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_database_getupdatedresult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_database_getupdatedresult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 425c68210ed4121f8e67e0bf3d2c9a0cfaacdc096e42beca1cfdcff74556d0d0
description: Contains the result for the Database.getUpdated method call.Returns the IDs of records updated within the time window specified in the Database.getUpdated method.Returns the date in Coordinated Universal Time (UTC) of the last date covered in the Database.getUpdated call.
---
# GetUpdatedResult Class

Contains the result for the Database.getUpdated method call.

## Namespace

[Database](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_Database.htm "The Database namespace provides classes used with DML operations.")

## Usage

Use the methods in this class to obtain detailed information about the updated records returned by Database.getUpdated for a specific time window.

## GetUpdatedResult Methods

The following are methods for GetUpdatedResult. All are instance methods.

- **[getIds()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_database_getupdatedresult.htm#apex_Database_GetUpdatedResult_getIds)**  
    Returns the IDs of records updated within the time window specified in the Database.getUpdated method.
- **[getLatestDateCovered()](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_database_getupdatedresult.htm#apex_Database_GetUpdatedResult_getLatestDateCovered)**  
    Returns the date in Coordinated Universal Time (UTC) of the last date covered in the Database.getUpdated call.

### getIds()

Returns the IDs of records updated within the time window specified in the Database.getUpdated method.

#### Signature

public List<Id> getIds()

#### Return Value

Type: [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ID](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_id.htm#apex_methods_system_id "Contains methods for the ID primitive data type.")\>

### getLatestDateCovered()

Returns the date in Coordinated Universal Time (UTC) of the last date covered in the Database.getUpdated call.

#### Signature

public Date getLatestDateCovered()

#### Return Value

Type: [Date](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_date.htm#apex_methods_system_date "Contains methods for the Date primitive data type.")