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

MySQL FIELD function #33

Merged
merged 4 commits into from
Jun 12, 2011
Merged

MySQL FIELD function #33

merged 4 commits into from
Jun 12, 2011

Conversation

ponchorage
Copy link
Contributor

Hey Benjamin,

I just implemented the FIELD function for MySQL. Seems to be working fine for me. Only thing that seemed strange was that I couldn't use double quotes around the string values in the query but maybe that is normal. Thanks for this library that you've put together and for all your work on Doctrine!

@beberlei
Copy link
Owner

beberlei commented Jun 9, 2011

Can you fix the formatting please? 4 spaces, not 2.

@ponchorage
Copy link
Contributor Author

Hmmm, looks like git converts tabs to two spaces by default? Should look
better now.

Jeremy

On Thu, Jun 9, 2011 at 11:17 AM, beberlei <
reply@reply.github.com>wrote:

Can you fix the formatting please? 4 spaces, not 2.

Reply to this email directly or view it on GitHub:
#33 (comment)

beberlei added a commit that referenced this pull request Jun 12, 2011
@beberlei beberlei merged commit a227f9a into beberlei:master Jun 12, 2011
@jrgns
Copy link

jrgns commented Sep 19, 2013

@ponchorage Regarding the double quotes versus the single quotes, it looks like the SQL standard defines the single quote as string start and end delimiters, not double quotes. Double quotes can be used to alias fields and table, though.

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

Successfully merging this pull request may close these issues.

3 participants