SQL statements that test the integrity of the database with respect to links.
SQL statements that test the integrity of the database with respect to nodes.
aiida.manage.database.integrity.sql.nodes.
format_type_string_regex
Format the type string regex to match nodes that are a sub class of the given node class.
For example, for the CalculationNode class, the type string is given by:
node.process.calculation.CalculationNode.
To obtain the regex string that can be used to match sub classes, one has to strip the last period and the class name:
nodes.process.calculation.
Any node with a type string that starts with this sub string is a sub class of the CalculationNode class.
node_class – the node class for which to get the sub class regex string
a string that can be used as regex to match nodes that are a sub class of the given node class