Hi. I am trying to make this work, but I am constantly failing. A little help please
I have a datetime field, name first_contact on a model named contact_tracing. So according to the previous answer, to cast it like a date type, I would have to make something like this.
You should use table.first_contact to select the first_contact column instead of table.first_contact.datetime and you should use the name of a date field instead of ‘date’ in the second part of the cast