Skip to content

Commit 16e1517

Browse files
committed
Fix deprecation examples
1 parent 64364b6 commit 16e1517

File tree

1 file changed

+1
-44
lines changed

1 file changed

+1
-44
lines changed

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,22 +1906,6 @@ CREATE TEXT INDEX FOR (n:Label) ON (n.prop) OPTIONS {indexProvider : 'text-2.0'}
19061906
.Using a renamed or a deprecated procedure
19071907
[.tabbed-example]
19081908
=====
1909-
[.include-with-GQLSTATUS-deprecated-with-replacement]
1910-
======
1911-
[source,cypher]
1912-
----
1913-
CALL cdc.query
1914-
----
1915-
1916-
Returned GQLSTATUS code::
1917-
01N01
1918-
1919-
Returned status description::
1920-
warn: feature deprecated with replacement.
1921-
`cdc.query` is deprecated.
1922-
It is replaced by `db.cdc.query`.
1923-
1924-
======
19251909
[.include-with-GQLSTATUS-deprecated-without-replacement]
19261910
======
19271911
[source,cypher]
@@ -1957,33 +1941,6 @@ If there is a suggested replacement, update to use the replacement instead.
19571941
.Using id() function
19581942
[.tabbed-example]
19591943
=====
1960-
[.include-with-GQLSTATUS-deprecated-with-replacement]
1961-
======
1962-
Query::
1963-
+
1964-
[source,cypher]
1965-
----
1966-
MATCH (a)
1967-
RETURN id(a)
1968-
----
1969-
1970-
Returned GQLSTATUS code::
1971-
01N01
1972-
1973-
Returned status description::
1974-
warn: feature deprecated with replacement.
1975-
`id` is deprecated.
1976-
It is replaced by `elementId()`.
1977-
1978-
Suggestions for improvement::
1979-
Use the function `elementId()` instead.
1980-
+
1981-
[source,cypher]
1982-
----
1983-
MATCH (a)
1984-
RETURN elementId(a)
1985-
----
1986-
======
19871944
[.include-with-GQLSTATUS-deprecated-without-replacement]
19881945
======
19891946
Query::
@@ -3604,7 +3561,7 @@ m|SECURITY
36043561
|GQLSTATUS code
36053562
m|01N72
36063563
|Status description
3607-
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
3564+
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
36083565
|Classification
36093566
m|SECURITY
36103567
|SeverityLevel

0 commit comments

Comments
 (0)