gw_fct_admin_schema_clone - Giswater/giswater_dbmodel GitHub Wiki
Description
Function to clone given schema
Input example
SELECT gw_fct_admin_schema_clone($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"form":{},
"data":{"parameters":{"source_schema":"ws_sample","dest_schema":"ws_sample_2"}}}$$);
Output example
{
"status": "Accepted",
"message": {
"level": 1,
"text": "Copy schema done successfully"
},
"version": "3.5.002",
"body": {
"form": {},
"data": {
"info": {
"geometryType": "",
"values": {}
},
"point": {
"geometryType": "",
"features": []
},
"line": {
"geometryType": "",
"features": []
},
"polygon": {
"geometryType": "",
"features": []
}
}
}
}