Returns true when this field would have a _Clear companion BOOLEAN
parameter under the broad tolerant-SP rule.
Broad rule (intentional default): any nullable column gets a _Clear
companion so callers can persist explicit NULL on fields that COALESCE-merge
would otherwise preserve. This is what the typed-arg sproc would emit
for a given entity if there were no platform constraints.
Used here for projection — counting what a typed-arg sproc would take
to decide whether a JSON-arg shape is needed instead. The PG CodeGen
provider currently overrides its emit-time rule to a narrower variant
(needsClearCompanion) for entities under the JSON-arg threshold; that
narrowing is being phased out as the JSON-arg branch takes over for wide
entities (see issue #2552).
Returns true when this field would have a
_Clearcompanion BOOLEAN parameter under the broad tolerant-SP rule.Broad rule (intentional default): any nullable column gets a
_Clearcompanion so callers can persist explicit NULL on fields that COALESCE-merge would otherwise preserve. This is what the typed-arg sproc would emit for a given entity if there were no platform constraints.Used here for projection — counting what a typed-arg sproc would take to decide whether a JSON-arg shape is needed instead. The PG CodeGen provider currently overrides its emit-time rule to a narrower variant (
needsClearCompanion) for entities under the JSON-arg threshold; that narrowing is being phased out as the JSON-arg branch takes over for wide entities (see issue #2552).