Hi,
I want to create a partial index with postgresql, but in my where clause, i need to compare a field to a char. I get an error .
Example :
PartialIndex(fields=['id', 'rc_type'], unique=False, where_postgresql='status = "enabled"')
django.db.utils.ProgrammingError: column "enabled" does not exist
LINE 1: ...N "table" ("id", "rc_type") WHERE status = "enabled"
Hi, I want to create a partial index with postgresql, but in my where clause, i need to compare a field to a char. I get an error . Example : PartialIndex(fields=['id', 'rc_type'], unique=False, where_postgresql='status = "enabled"')
django.db.utils.ProgrammingError: column "enabled" does not exist LINE 1: ...N "table" ("id", "rc_type") WHERE status = "enabled"
Thanks for your help