Zend_Db_Table queries containing the table name preparing for joins
I would like to see Zend_Db_Table to query everything with the table name. I want a find($my_id) result in a: "SELECT `table_name`.* FROM `table_name` WHERE `table_name`.`primary_key_id` = '$my_id'"
Is there a reason not to incorporate the table name into the default queries? This allows for flexibility in future joins where there might be a second table with the same column name as the primary_key_id in the main table.
|