LineString(pt [, pt] ...)

Constructs a LineString value from a number of Point or WKB Point
arguments. If the number of arguments is less than two, the return
value is NULL.

URL: https://dev.mysql.com/doc/refman/8.4/en/gis-mysql-specific-functions.html

