ST_NumGeometries() method

Returns the number of geometries contained in the geometry collection.

Syntax

geomcollection-expression.ST_NumGeometries()

Returns

INT Returns the number of geometries stored in this collection.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) 9.1.4