postgres-nio icon indicating copy to clipboard operation
postgres-nio copied to clipboard

PreparedStatement use with optional parameters

Open duncangroenewald opened this issue 1 year ago • 3 comments

Some explanation of how to set bindings for optional values in a prepared statement would be helpful. It seems you can't set binding is the property is optional. If so how do you set the property (column) to NULL in a prepared statement if that is even possible.

I could find no example of such a scenario.

Thanks

duncangroenewald avatar Sep 21 '24 00:09 duncangroenewald