diff --git a/modules/ROOT/pages/notifications/all-notifications.adoc b/modules/ROOT/pages/notifications/all-notifications.adoc index 90b09bba..9cfdc367 100644 --- a/modules/ROOT/pages/notifications/all-notifications.adoc +++ b/modules/ROOT/pages/notifications/all-notifications.adoc @@ -1910,7 +1910,7 @@ CREATE TEXT INDEX FOR (n:Label) ON (n.prop) OPTIONS {indexProvider : 'text-2.0'} ====== [source,cypher] ---- -CALL cdc.query +CALL cdc.query() ---- Returned GQLSTATUS code:: @@ -1921,85 +1921,14 @@ warn: feature deprecated with replacement. `cdc.query` is deprecated. It is replaced by `db.cdc.query`. -====== -[.include-with-GQLSTATUS-deprecated-without-replacement] -====== -[source,cypher] ----- -CALL unsupported.dbms.shutdown ----- - -Returned GQLSTATUS code:: -01N02 - -Returned status description:: -warn: feature deprecated without replacement. -`unsupported.dbms.shutdown` is deprecated and will be removed without a replacement. -====== -[.include-with-neo4j-code] -====== - -[source,cypher] ----- -CALL unsupported.dbms.shutdown ----- - -Description of the returned code:: -The query used a deprecated procedure: `'unsupported.dbms.shutdown'`. - Suggestions for improvement:: -Remove the use of the deprecated procedure. -If there is a suggested replacement, update to use the replacement instead. - -====== -===== - -.Using id() function -[.tabbed-example] -===== -[.include-with-GQLSTATUS-deprecated-with-replacement] -====== -Query:: +Use the new procedure name `db.cdc.query` instead of the deprecated `cdc.query`. + [source,cypher] ---- -MATCH (a) -RETURN id(a) +CALL db.cdc.query() ---- -Returned GQLSTATUS code:: -01N01 - -Returned status description:: -warn: feature deprecated with replacement. -`id` is deprecated. -It is replaced by `elementId()`. - -Suggestions for improvement:: -Use the function `elementId()` instead. -+ -[source,cypher] ----- -MATCH (a) -RETURN elementId(a) ----- -====== -[.include-with-GQLSTATUS-deprecated-without-replacement] -====== -Query:: -+ -[source,cypher] ----- -MATCH (a) -RETURN id(a) ----- - -Returned GQLSTATUS code:: -01N02 - -Returned status description:: -warn: feature deprecated without replacement. -`id` is deprecated and will be removed without a replacement. ====== [.include-with-neo4j-code] ====== @@ -2008,21 +1937,20 @@ Query:: + [source,cypher] ---- -MATCH (a) -RETURN id(a) +CALL cdc.query() ---- Description of the returned code:: -The query used a deprecated function: `id`. +The query used a deprecated procedure. ('cdc.query' has been replaced by 'db.cdc.query') Suggestions for improvement:: -Use the function `elementId()` instead. +Use the new procedure name `db.cdc.query` instead of the deprecated `cdc.query`. + [source,cypher] ---- -MATCH (a) -RETURN elementId(a) +CALL db.cdc.query() ---- + ====== ===== @@ -2630,6 +2558,86 @@ m|DEPRECATION m|WARNING |=== +.Using a renamed or a deprecated procedure +[.tabbed-example] +===== +[.include-with-GQLSTATUS-deprecated-without-replacement] +====== +[source,cypher] +---- +CALL unsupported.dbms.shutdown() +---- + +Returned GQLSTATUS code:: +01N02 + +Returned status description:: +warn: feature deprecated without replacement. +`unsupported.dbms.shutdown` is deprecated and will be removed without a replacement. +====== +[.include-with-neo4j-code] +====== + +[source,cypher] +---- +CALL unsupported.dbms.shutdown() +---- + +Description of the returned code:: +The query used a deprecated procedure: `'unsupported.dbms.shutdown'`. + +Suggestions for improvement:: +Remove the use of the deprecated procedure. +If there is a suggested replacement, update to use the replacement instead. + +====== +===== + +.Using id() function +[.tabbed-example] +===== +[.include-with-GQLSTATUS-deprecated-without-replacement] +====== +Query:: ++ +[source,cypher] +---- +MATCH (a) +RETURN id(a) +---- + +Returned GQLSTATUS code:: +01N02 + +Returned status description:: +warn: feature deprecated without replacement. +`id` is deprecated and will be removed without a replacement. +====== +[.include-with-neo4j-code] +====== + +Query:: ++ +[source,cypher] +---- +MATCH (a) +RETURN id(a) +---- + +Description of the returned code:: +The query used a deprecated function: `id`. + +Suggestions for improvement:: +Use the function `elementId()` instead. ++ +[source,cypher] +---- +MATCH (a) +RETURN elementId(a) +---- +====== +===== + .Using Cypher query option `connectComponentsPlanner` [.tabbed-example] ===== @@ -3604,7 +3612,7 @@ m|SECURITY |GQLSTATUS code m|01N72 |Status description -a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead. +a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead. |Classification m|SECURITY |SeverityLevel