NoSQL / RDBMS hybrid with referential integrity (delete cascade)?
问题 Is there a database out there that gives you the benefit of referential integrity and being able to use a SQL type language for querying, but also lets entities be loosely defined with respect to their data attributes and also the relationships between them? E.g. take a RBAC type model where you have Permissions, Users, User Groups & Roles. A complex/flexible model could have the following rules: Roles can have one or more permissions and a permission can belong to one or more Roles Users can