问题描述
是否有一种 sql 方法来计算 MysqL 中多行字符串字段中的行字符串数? ST_Numpoints(multilinestring_field) 返回 null。
解决方法
我认为答案是使用 ST_NumGeometries - https://dev.mysql.com/doc/refman/8.0/en/gis-geometrycollection-property-functions.html#function_st-numgeometries
是否有一种 sql 方法来计算 MysqL 中多行字符串字段中的行字符串数? ST_Numpoints(multilinestring_field) 返回 null。
我认为答案是使用 ST_NumGeometries - https://dev.mysql.com/doc/refman/8.0/en/gis-geometrycollection-property-functions.html#function_st-numgeometries