Mgconsole: set variable

how can i set a variable in the mgconsole, so that my queries can refer to it?

would like to:
name := “Bob”
Create (c:Company{owner = $name } )

1 Like

There is no option to set parameters in mgconsole at the moment.
I have created an issue on GitHub and our engineering team will look into it.

As an alternative, you can use parameters in Memgraph Lab or with the drivers.

1 Like