Interface SecureParameter
Wraps a bound parameter value so Pyranid can mask it in diagnostics while still binding the underlying value normally.
This is display-only: it does not change what is bound to the database. Pyranid's own diagnostic rendering reads
getMask() directly and does not rely on an implementation's Object.toString() method.
Implementations should be threadsafe.
- Since:
- 4.4.0
- Author:
- Mark Allen
-
Method Summary
-
Method Details
-
getValue
Gets the value to bind.- Returns:
- the value to bind, or
Optional.empty()if the value isnull
-
getMask
-