It seems wrong to me for the view layer to know or presume anything about the persistence mechanism. 'sql_data' seems to imply that knowledge.