MySQL error 6465 ER_JDV_INVALID_DEFINITION_RELATIONSHIP_RULES_VIOLATED
Error messageInvalid JSON duality view definition: For singleton descendant object, the primary key column of a current object's table must be used in the WHERE condition. For a nested descendant object, the primary key column of the parent object's table must be used in where condition. Object \"…\" violates the rule.