Quote:
Originally Posted by ownedbycats
Quick question: Are there any instances where field('column') and $column (or raw_field and $$column) are not interchangeable?
|
Only one that I know of and that doesn't strictly conform to your question -- when the field name is itself variable. For example, the expression:
Code:
x = field(substr($a, 1, 10))
cannot be expressed in $ notation.