ST_CONTAINS

Stai visualizzando una vecchia versione di questo article. Visualizza la versione più recente.

Sintassi

ST_CONTAINS(g1,g2)

Spiegazione

MariaDB starting with 5.3.3

ST_CONTAINS() è stata introdotta in MariaDB 5.3.3

Restituisce 1 o 0 per indicare se la geometria g1 contiene completamente la geometria g2.

ST_CONTAINS() usa le forme degli oggetti, mentre CONTAINS(), basata sull'implementazione originale di MySQL, usa i rettangoli esterni.

ST_CONTAINS è complementare a ST_WITHIN().

Commenti

Sto caricando i commenti......
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.