```typescript sql.raw(`date_format(${MyTable.mycolumn}, "%d-%m-%Y") like "%${search}%"`) // This errors sql.raw(`date_format(${MyTable.mycolumn.name}, "%d-%m-%Y") like "%${search}%"`) // This Works! ```