Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query with dot notation #54

Open
kldeb opened this issue May 2, 2018 · 0 comments
Open

Query with dot notation #54

kldeb opened this issue May 2, 2018 · 0 comments

Comments

@kldeb
Copy link

kldeb commented May 2, 2018

When using BuildQuery and Query to run a query the following query returns the expected results:

SELECT Id FROM PermissionSetAssignment

But when the query uses the dot notation for the related object there are no results:

SELECT PermissionSet.Id, PermissionSet.Name FROM PermissionSetAssignment

The structs for reference:

type PermissionSetAssignment struct {
	// ID string `force:"Id"`
	ID string `force:"PermissionSet.Id"`
	Name string `force:"PermissionSet.Name"`
}

type PermissionSetAssignmentResponse struct {
	sobjects.BaseQuery

	Records []*PermissionSetAssignment `force:"records"`
}

What am i missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant