Skip to content
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

Reloading query modules docs #916

Merged
merged 3 commits into from
Jul 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/custom-query-modules/manage-query-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you want to reload all existing modules and load any newly added ones, use
CALL mg.load_all();
```

If there is no response (no error message), the load was successful.
If there is no response (no error message), the load was successful. If you try to reload a module while another thread is using it the reloading will fail with an error message.
hal-eisen-MG marked this conversation as resolved.
Show resolved Hide resolved

You can check if the query module has been loaded by using the `mg.procedures()`
procedure within a query:
Expand Down Expand Up @@ -111,7 +111,7 @@ Example of a result:

### `mg.load_all`

Loads or reloads all modules.
Loads or reloads all modules. If any of the modules that would be reloaded are being used by another thread while this is run then an error will be thrown.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which error? How should the user resolve the error?


Example of a Cypher query:

Expand All @@ -124,7 +124,7 @@ update was successful.

### `mg.load`

Loads or reloads the given module.
Loads or reloads the given module. If the module that would be reloaded is being used by another thread while this is run then an error will be thrown.
hal-eisen-MG marked this conversation as resolved.
Show resolved Hide resolved

Example of a Cypher query:

Expand Down