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
VPVP 

Why is * not allowed in query fieldlist

I am doing a query where I need the complete salesforce object (say account). It would be nice to have a * capability in the fieldlist. Currently I am doing a describe call and processing the fields returned into a comma separated list. Any other way I can have the * capability?
benjasikbenjasik
* doesn't work with the enterprise WSDL which is why we do not support it. The reason why is if you added a custom field, but had not regenerated your WSDL, we'd send back a field you don't know how to serialize. You're doing the right thing by building up the select list