Using the MISSING function with PartiQL for DynamoDB - Amazon DynamoDB
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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