CActiveRecord type casting #1876

Closed
wants to merge 1 commit into
from

Conversation

2 participants

This is an attempt to solve the issue of fetching data of incorrect type from DB (eg fetching integer as string). The proposed solution will perform type-casting when populating record, according to specifications in AR meta data. Default behavior is NOT to perform type casting. User will need to specify in each AR model that he wants to use type casting.

samdark closed this Dec 5, 2015

Owner

samdark commented Dec 5, 2015

Won't implement it in 1.1.

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