function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
chiragmanochachiragmanocha 

Querying on existing database on salesforce

I have already synced my database to Salesforce database

Now I want to update some records on salesforce database. For that I have to fetch the records from salesforce database. how can I do it ?? 

 

Any pointer will be a great help and appreciable. Thanks in advance.

 

Regards

--

Chirag Manocha

Best Answer chosen by Admin (Salesforce Developers) 
chiragmanochachiragmanocha
QueryResult queryResult = binding.query("select type from Account where name = 'Xyz'");