OntologyTableResetPreview
Side-effect-free reset impact preview.
resource_idResource Id (string)필수
kindKind (string)필수
Possible values: [entity_type, relation_type]
rowsRows (integer)필수
Possible values: >= 0
dependent_relation_rowsDependent Relation Rows (integer)
Possible values: >= 0
기본값:
0dependencies object[]
Array [
relation_id object
Relation type identifier, or null when the dependent table is not associated with a relation type.
- string
- null
string
nameName (string)필수
RelationType name or schema-qualified table name
roleRole (string)필수
How the relation depends on the EntityType
Possible values: [source, target, source_target, unknown]
opOp (string)
delete removes a link_table relation's rows; clear sets a foreign_key relation's columns to NULL on its source rows
Possible values: [delete, clear]
기본값:
deleterowsRows (integer)필수
Relation rows the reset removes — for clear, the source rows whose columns point at the EntityType
Possible values: >= 0
]
requires_dependent_relation_deleteRequires Dependent Relation Delete (boolean)
기본값:
falseOntologyTableResetPreview
{
"resource_id": "string",
"kind": "entity_type",
"rows": 0,
"dependent_relation_rows": 0,
"dependencies": [
{
"relation_id": "string",
"name": "string",
"role": "source",
"op": "delete",
"rows": 0
}
],
"requires_dependent_relation_delete": false
}