Neo4J: how to find out the mode of procedure -
cypher query call dbms.procedures; allows name, signature, , description of available stored procedures @ neo4j server.
is there cypher query find out mode of procedure(s)?
source code of procedure should contain annotation @procedure element mode. value of attribute mode indicates type of actions (read (default mode), write, schema, dbms) can perform procedure.
adding 'mode' here idea, i'll add issues list.
in meantime, dmbs.procedures() yield roles (in enterprise edition), can use reason associated mode, @ least basic roles used.
i think logic should sound:
call dbms.procedures() yield name, roles name, roles, case when 'reader' in roles 'read' when 'publisher' in roles 'write' when 'architect' in roles 'schema' when 'admin' in roles 'dbms' end mode return name, roles, mode order mode asc i'll solutions community edition.
Comments
Post a Comment