{"Entry":{"collection":"func","key":"error-on-null","name":"error_on_null","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"19"}],"content_hash":"69355bce2af3ed3b2fdc8af991881e0f9fcc0eba5fcbf2138cce769130b2d86c","first_version":"19","group":"comparison","group_label":"Comparison Functions And Operators","groups":["comparison"],"imported_at":"2026-09-14T21:49:48.607371+08:00","last_version":"20","name":"error_on_null","name_key":"error_on_null","position":1000,"present_in":["19","20"],"signature":"error_on_null ( anyelement ) → anyelement","signature_count":1,"slug":"error-on-null","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","summary_zh":""}},"Definition":{"Collection":"func","Key":"error-on-null","SourceDatabase":"center","Version":"20","SourceTable":"func","SourceKey":"error-on-null","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_html":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-COMPARISON-FUNC-TABLE","file":"functions-comparison.html","slug":"devel"},"group":"comparison","group_label":"Comparison Functions And Operators","lang":"en","layout":"table-new","pages":["functions-comparison.html"],"prose_only":false,"signatures":[{"description":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_html":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_zh":"","description_zh_html":"","examples":[{"expr":"error_on_null(42)","result":"42"},{"expr":"error_on_null(row(null,null))","result":"(,)"}],"html":"\u003ccode class=\"function\"\u003eerror_on_null\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"error_on_null ( anyelement ) → anyelement","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-COMPARISON-FUNC-TABLE","file":"functions-comparison.html","slug":"devel"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"error-on-null","SourceDatabase":"pgweb","Version":"20","Locale":"zh-Hans","Title":"error_on_null","Summary":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","BodyHTML":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。\u003cpre\u003eerror_on_null ( anyelement ) → anyelement\u003c/pre\u003e检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","SourceRevision":"2026-09-12T08:18:26.491985+00:00@e2a86b52","ContentHash":"81daebcb9b8d16e2dc66aeac1a2151965ff90948749ed368e877262bf07629ef","Payload":{"description_zh":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","description_zh_html":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","signatures":[{"description_zh":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","description_zh_html":"检查输入是否为 null 值；如果是，则生成错误；否则返回输入。","returns":"anyelement","text":"error_on_null ( anyelement ) → anyelement","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"20","Ordinal":0,"Hash":"2dc8cefc6c28225179e677fa82c177b49ee60b5af39ed07b24c37889ca905306","Text":"error_on_null ( anyelement ) → anyelement","Returns":"anyelement","Payload":{"description":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_html":"Checks if the input is the null value, generating an error if so; otherwise, returns the input.","description_zh":"","description_zh_html":"","examples":[{"expr":"error_on_null(42)","result":"42"},{"expr":"error_on_null(row(null,null))","result":"(,)"}],"html":"\u003ccode class=\"function\"\u003eerror_on_null\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eanyelement\u003c/code\u003e","returns":"anyelement","text":"error_on_null ( anyelement ) → anyelement","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
