-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #391 - Update documentation for procedures that have converted to functions #427
Conversation
docs/datetime.adoc
Outdated
@@ -6,11 +6,8 @@ endif::env-guide[] | |||
|
|||
== Conversion between formatted dates and timestamps | |||
|
|||
* `apoc.date.parseDefault('2015-03-25 03:15:59','s')` get Unix time equivalent of given date (in seconds) | |||
* `apoc.date.parse('2015/03/25 03-15-59','s','yyyy/MM/dd HH/mm/ss')` same as previous, but accepts custom datetime format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mark that here everything beyon the first parameter is optional .e.g with ['s']
* `apoc.number.parseInt.pattern(text, pattern) yield value` parse a text using a pattern and the default system language to produce a long | ||
* `apoc.number.parseInt.lang(text, lang) yield value` parse a text using the default system pattern and a language to produce a long | ||
* `apoc.number.parseInt.pattern.lang(text, pattern, lang) yield value` parse a text using a pattern and a language to produce a long | ||
* `apoc.number.parseInt(text)` parse a text using the default system pattern and language to produce a long |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should have a short example like this, and a full with the optional parameters marked
docs/number.adoc
Outdated
* `apoc.number.parseFloat.pattern.lang(text, pattern, lang) yield value` parse a text using a pattern and a language to produce a double | ||
|
||
* The full list of supported values for `pattern` and `lang` params is described in https://docs.oracle.com/javase/9/docs/api/java/text/DecimalFormat.html[DecimalFormat JavaDoc] | ||
* `apoc.number.parseFloat(text)` parse a text using the default system pattern and language to produce a double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should have a short example like this, and a full with the optional parameters marked
@@ -33,63 +21,13 @@ | |||
.... | |||
|
|||
.... | |||
call apoc.number.format.pattern.lang(12345, '#,##0.00;(#,##0.00)', 'it') yield value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't remove them but replace them with the proper RETURN apoc.number.format(..
with full parameters
docs/spatial.adoc
Outdated
@@ -169,25 +169,3 @@ ORDER BY distance | |||
LIMIT 100 | |||
---- | |||
|
|||
== Combined Space and Time search |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is the replacement for this? where the procedure calls are replaced with a function call?
Ping @AngeloBusato |
…ve converted to functions
@jexp Done, PR updated |
…ve converted to functions (neo4j-contrib#427)
We don't found some procedures/functions, so we deleted them from documentation.
apoc.number.format.lang
apoc.number.format.pattern
apoc.number.format.pattern.lang
apoc.number.parseInt.pattern
apoc.number.parseInt.lang
apoc.number.parseInt.pattern.lang
apoc.number.parseFloat.pattern
apoc.number.parseFloat.lang
apoc.number.parseFloat.pattern.lang
apoc.date.formatDefault
apoc.date.parseDefault
apoc.date.formatTimeZone
apoc.date.fieldsFormatted
apoc.date.fieldsDefault