From 639d6bbab170b8f31a3e75c84265792b779e98de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josip=20Mr=C4=91en?= Date: Tue, 5 May 2026 12:57:54 +0200 Subject: [PATCH 1/3] Add SHOW QUERY CALLABLE MAPPINGS query --- .../available-algorithms.mdx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pages/advanced-algorithms/available-algorithms.mdx b/pages/advanced-algorithms/available-algorithms.mdx index bf5f9648b..49e39e001 100644 --- a/pages/advanced-algorithms/available-algorithms.mdx +++ b/pages/advanced-algorithms/available-algorithms.mdx @@ -134,6 +134,27 @@ If you want to know more and learn how this affects you, read our [announcement] This table shows the mapping between APOC functions/procedures and their Memgraph equivalents. Use these mappings if you're familiar with Neo4j's APOC library. +### Inspecting configured mappings + +Memgraph loads callable aliases from the JSON file pointed to by the +[`--query-callable-mappings-path`](/database-management/configuration) flag. +To list every alias currently registered (including any custom mappings you +add to that file), run: + +```cypher +SHOW QUERY CALLABLE MAPPINGS; +``` + +The query returns three columns: + +- `alias_name: string` ➡ The name clients call (for example, `apoc.version`). +- `source_name: string` ➡ The underlying Memgraph procedure or function the + alias resolves to (for example, `mgps.version`). +- `type: string` ➡ Either `procedure`, `function`, or `unknown` if the source + cannot be resolved. + +Running `SHOW QUERY CALLABLE MAPPINGS` requires the `CONFIG` privilege. + | APOC | Description | Memgraph equivalent | |-------------------------|-------------|---------------------| | apoc.coll.union | Unites two lists into one, eliminating duplicates | [collections.union()](/advanced-algorithms/available-algorithms/collections#union) | From b1c79f7439ab9316da14791177862b8c1b6ca42d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josip=20Mr=C4=91en?= Date: Tue, 5 May 2026 13:01:00 +0200 Subject: [PATCH 2/3] Add drop in replacement message --- pages/advanced-algorithms/available-algorithms.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/advanced-algorithms/available-algorithms.mdx b/pages/advanced-algorithms/available-algorithms.mdx index 49e39e001..debc03cd0 100644 --- a/pages/advanced-algorithms/available-algorithms.mdx +++ b/pages/advanced-algorithms/available-algorithms.mdx @@ -132,6 +132,8 @@ If you want to know more and learn how this affects you, read our [announcement] ## APOC mappings +These aliases serve as a drop-in replacement for APOC and GDS queries, so you can migrate from Neo4j to Memgraph without changing your application code. + This table shows the mapping between APOC functions/procedures and their Memgraph equivalents. Use these mappings if you're familiar with Neo4j's APOC library. ### Inspecting configured mappings From 0dea2a64b75add1b721843166015270ed1ff27d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josip=20Mr=C4=91en?= Date: Tue, 5 May 2026 13:04:05 +0200 Subject: [PATCH 3/3] Better cohesion --- pages/advanced-algorithms/available-algorithms.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/advanced-algorithms/available-algorithms.mdx b/pages/advanced-algorithms/available-algorithms.mdx index debc03cd0..0a9d1c5fb 100644 --- a/pages/advanced-algorithms/available-algorithms.mdx +++ b/pages/advanced-algorithms/available-algorithms.mdx @@ -132,9 +132,13 @@ If you want to know more and learn how this affects you, read our [announcement] ## APOC mappings -These aliases serve as a drop-in replacement for APOC and GDS queries, so you can migrate from Neo4j to Memgraph without changing your application code. +When switching from Neo4j to Memgraph, application code that calls `apoc.*` or `gds.*` +procedures and functions would otherwise break, since Memgraph exposes the same +functionality under different names. The aliases below serve as a drop-in replacement for +those APOC and GDS calls, so you can migrate without changing your application code. -This table shows the mapping between APOC functions/procedures and their Memgraph equivalents. Use these mappings if you're familiar with Neo4j's APOC library. +This table shows the mapping between APOC functions/procedures and their Memgraph equivalents. +Use these mappings if you're familiar with Neo4j's APOC library. ### Inspecting configured mappings