New answers tagged

1

There is soql-parser-js in npm/javascript if you want to break out a query into its different parts as an AST JSON object. Once you have the query parsed, you can do all sorts of transformations and what not to convert that object into whatever your desired POJO model is. I am not aware of anything similar that exists in apex, nor do i feel that something ...


2

No, there's no way to describe a SOQL query result. You'd need to combine the describe data with the structured JSON returned from the query endpoint. The returned data is structured: nested objects and relationships are represented as nested objects in JSON, not as a flat column list. However, query results do not provide field-level type introspection ...


Top 50 recent answers are included