All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql.extension.rtree.rtree_trigger_insert Maven / Gradle / Ivy

The newest version!
CREATE TRIGGER "rtree___insert" AFTER INSERT ON ""
  WHEN (new."" NOT NULL AND NOT ST_IsEmpty(NEW.""))
BEGIN
  INSERT OR REPLACE INTO "rtree__" VALUES (
    NEW."",
    ST_MinX(NEW.""), ST_MaxX(NEW.""),
    ST_MinY(NEW.""), ST_MaxY(NEW."")
  );
END;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy