JDatabaseQueryPostgresql::castAsChar

Casts a value to a char.

Ensure that the value is properly quoted before passing to the method. Usage: $query->select($query->castAsChar('a'));