Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Update

Updates a query definition and returns a status of OK or an error message

Update(1)

OrdinalTypeDescription
1objectRequiredAttributes for query definition to change

This sample code updates the name and query of the query definition: