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

Boost Processor.castValue() #205

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anotherpit
Copy link

Omit looking up for columnName each time the castValue() method is called.

@particlebanana
Copy link
Contributor

So to clarify why this is needed: the data comes back from the database with columnNames used and we need to look at the model attributes to determine if any casting needs to be done.

Before this fix we would look up the column name for each attribute, this creates a cached mapping once to speed up the process.

Sound correct @anotherpit?

@anotherpit
Copy link
Author

@particlebanana Exactly

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

Successfully merging this pull request may close these issues.

2 participants