Solved

Is it possible to use Null as the value/default value for a User Parameter?

  • 15 February 2022
  • 1 reply
  • 18 views

Badge

If I leave them blank I get an empty string inserted into my database (postgis) - I really want Nulls

icon

Best answer by david_r 15 February 2022, 11:43

View original

1 reply

Userlevel 4

User parameters cannot be set to NULL, but you can use a ParameterFetcher and a NullAttributeMapper before the writer to transform empty strings to NULL before being written.

Reply