returns true if the clause is an updating clause, false otherwise
| 1382 | |
| 1383 | // returns true if the clause is an updating clause, false otherwise |
| 1384 | static bool _is_updating_clause |
| 1385 | ( |
| 1386 | const cypher_astnode_t *clause // clause |
| 1387 | ) { |
| 1388 | cypher_astnode_type_t type = cypher_astnode_type(clause); |
| 1389 | |
| 1390 | return type == CYPHER_AST_CREATE || |
| 1391 | type == CYPHER_AST_MERGE || |
| 1392 | type == CYPHER_AST_DELETE || |
| 1393 | type == CYPHER_AST_SET || |
| 1394 | type == CYPHER_AST_REMOVE || |
| 1395 | type == CYPHER_AST_FOREACH; |
| 1396 | } |
| 1397 | |
| 1398 | // validate a WITH clause |
| 1399 | static VISITOR_STRATEGY _Validate_WITH_Clause |
no outgoing calls
no test coverage detected