View Single Post
Old 12-31-2021, 04:07 PM   #269
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
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.
chaley is offline   Reply With Quote