Skip to main content
Solved

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

  • February 15, 2022
  • 1 reply
  • 92 views

btl
Contributor
Forum|alt.badge.img+3
  • Contributor

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

Best answer by david_r

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.

View original
Did this help you find an answer to your question?

1 reply

david_r
Celebrity
  • Best Answer
  • February 15, 2022

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings