What are the pros & cons of database triggers vs. calculation attribute rules?
Example: a trigger or calculation attribute rule that would modify the M-values of polylines after edits (in real-time).
SDE.St_Geometry; Oracle 18c; versioned with moving edits to base
Database Triggers:
Pros:
Cons:
Calculation Attribute Rules:
Pros:
Cons:
What do you think? What did I miss?
I might add one more thing :
Cons of Arcade Attribute Calculation Rule is: if it uses $datastore in the script and the data is accessed via Feature Service hosted on Cloud (like AWS or AGP), it will generate cost on the cloud usage.
"if (id == null || id == "") {
return true;
}var fs = FeatureSetByName(
$datastore,
"db1.sch1.FC1",
["Oid", "objectid"],
false
);