albertoventurini / graphdb-intellij-plugin

Graph database plugin for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/20417-graph-database
Apache License 2.0
53 stars 15 forks source link

round() with precision #50

Closed j3ns closed 1 year ago

j3ns commented 1 year ago

Please support round(expression, precision) and round(expression, precision, mode) for Neo4j.

albertoventurini commented 1 year ago

Hi @j3ns, I created issue #55 to address this. Currently, the plugin contains hardcoded definitions for several Neo4j functions, including round. These hardcoded definitions are out of date. In the case of round, for example, the definition only contains the signature round(expression). The solution is to rather rely on the output of the SHOW FUNCTIONS command, which returns (amongst others) all the valid signatures for round.

albertoventurini commented 1 year ago

Hi @j3ns, the latest version of the plugin (v0.5.0) has been released. It includes support for new function signatures, including round(). Could you please try it and let me know what you think? Thank you

j3ns commented 1 year ago

Thank you for the fast solution! It seems to be solved with v0.5.0 to me.