Using the MISSING function with PartiQL for DynamoDB - Amazon DynamoDB
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Using the MISSING function with PartiQL for DynamoDB

Returns TRUE if the item does not contain the attribute specified. Only equality and inequality operators can be used with this function.

Syntax

attributename IS | IS NOT MISSING

Arguments

attributename

(Required) The attribute name to look for.

Return type

bool

Examples

SELECT * FROM Music WHERE "Awards" is MISSING