salesforce SOQL : query to fetch all the fields on the entity

前端 未结 6 2042
不思量自难忘°
不思量自难忘° 2020-12-17 10:31

I was going through the SOQL documentation , but couldn\'t find query to fetch all the field data of an entity say , Account , like

select * from Account         


        
6条回答
  •  我在风中等你
    2020-12-17 11:23

    I used following to get complete records-

    query_all("Select Id, Name From User_Profile__c")
    

    To get complete fields of record, we have to mention those fields as mentioned here- https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select.htm

    Hope will help you !!!

提交回复
热议问题