The ST_RELATE() function was introduced in MariaDB 10.1.2
 
Syntax
------ 
ST_Relate(g1, g2, i)
 
Description
----------- 
Returns true if Geometry g1 is spatially related to
Geometryg2 by testing for intersections between the
interior, boundary and exterior of the two geometries as
specified by the values in intersection matrix pattern i.
 

 
 
 
 
 
 
 

URL: https://mariadb.com/kb/en/st_relate/