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

Backtick on column names in MapperAbstract #21

Open
GoogleCodeExporter opened this issue Oct 13, 2015 · 1 comment
Open

Backtick on column names in MapperAbstract #21

GoogleCodeExporter opened this issue Oct 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a table with a column named "key" 
2. Generate the mapper
3. Use findByField or findByOneField like findOneByField('key', 'value')

What is the expected output? What do you see instead?
We expect the row that match but instead we got an error on 'key'.

What version of the product are you using? On what operating system?
Ubuntu Linux 10.04, Mysql 5 

Please provide any additional information below.
We resolve by putting backtick on each {$column} or {$field} occurrence in tpl.

Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 10:35

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by pedrospdc on 18 Feb 2012 at 6:05

  • Changed state: Started

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

No branches or pull requests

1 participant