Hi
DB = PostgreSQL
I defined a model with a boolean field (using Data modeler for PostgreSQL model)
[Column('extended_control', [])]
Fextended_control: Nullable<Boolean>;
But when posting data with JSON containing (direct post to auto generated table xData method)
"extended_control": true,
I got an exception regarding the content of value (here in french)
{
"error": {
"code": "PgNativeException",
"message": "[FireDAC][Phys][PG][libpq] ERREUR: la colonne « extended_control » est de type boolean mais l'expression est de type character varying.\r\nVous devez réécrire l'expression ou lui appliquer une transformation de type."
}
}
It means the xdata/aurelius doesn't adapt content of field boolean to the right available content for PG, if I'm right
How to use Boolean with PG with xdata/aurelius please ?
Thanks for help
Sylvain