Skip to content

gw_fct_setfeaturedelete

Edgar Fuste edited this page Nov 2, 2021 · 1 revision

Description

Delete feature including all relations if it has. Relations like documents, elements, visits or arc/node/connec/gully dependences.

Input example

SELECT gw_fct_setfeaturedelete($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{},"feature":{"type":"NODE"},
"data":{"feature_id":"1031"}}$$);

Output example

{
  "status": "Accepted",
  "version": {
    "value": "3.4.021"
  },
  "message": {
    "level": 1,
    "text": ""
  },
  "body": {
    "data": {
      "info": {
        "geometryType": "",
        "values": [
          {
            "id": 2824,
            "message": "DELETE FEATURE"
          },
          {
            "id": 2825,
            "message": "------------------------------"
          },
          {
            "id": 2826,
            "message": "Number of disconnected elements:2"
          },
          {
            "id": 2827,
            "message": "Number of disconnected visits: 1"
          },
          {
            "id": 2828,
            "message": "Number of disconnected documents: 3"
          },
          {
            "id": 2829,
            "message": "Disconnected arcs: 2018,2017"
          },
          {
            "id": 2830,
            "message": "Delete node: 1031"
          }
        ]
      }
    }
  }
}
Clone this wiki locally