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

Explore compatibility with the Doctrine ORM. #74

Open
rodrigoaguilera opened this issue Oct 30, 2022 · 1 comment
Open

Explore compatibility with the Doctrine ORM. #74

rodrigoaguilera opened this issue Oct 30, 2022 · 1 comment

Comments

@rodrigoaguilera
Copy link
Contributor

I would be great to define ORM objects that are configured to use this driver in the backend.

I have been researching this a bit and one of the initial obstacle is the lack of support for aliasing fields/columns in a SOQL query aka AS.

Has anyone tried before?

@juslintek
Copy link

juslintek commented Jan 14, 2025

It has, you just do not need AS keyword between, column and alias. When in rest it works properly so it might be problem related with DQL and how it converts DQL to actual query.

Reference: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_alias.htm

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

2 participants