Documentation ¶
Overview ¶
Package query implements querying through the Salesforce data service. It is a non-trivial problem because:
- The API response shape is weird - Subqueries can themselves be paginated.
The first is generally manageable and nothing so out of the ordinary. The second however is a big problem from an API/interface perspective. It doesn't make sense to paginate subqueries to a caller, because they probably don't have the context to use the subquery. It's also just incredibly difficult to program the caller-based pagination of subqueries.
So we choose to hide the subquery pagination as an implementation detail. Again, not ideal, but probably the best choice.
We do, however, still support top-level query pagination.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Query ¶
func Query(cb PageCallback, options ...Option) error
Types ¶
type HttpGetter ¶
type Option ¶
type Option func(*Options)
func ApiVersion ¶
func HttpGet ¶
func HttpGet(f HttpGetter) Option