mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
update memgraph
This commit is contained in:
parent
83b2702939
commit
f996b2195b
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
HOST=${1:?DOMAIN or IP is empty}
|
HOST=${1:?DOMAIN or IP is empty}
|
||||||
|
|
||||||
docker exec -i memgraph_memgraph_1 mgconsole -output-format=csv <<- _CQL_ | sed -e 's/"//g' | tail -n +2 | tr '[],[]' ' ' | shuf | gawk -f /dev/fd/3 3<<- "_AWK_" | column -t -i1 -p2 -r3 -H1,2 | sed 's/─/& /'
|
docker exec -i memgraph_memgraph_1 mgconsole -output-format=csv <<- _CQL_ | sed -e 's/"//g' | tail -n +2 | tr '[],[]' ' ' | gawk -f /dev/fd/3 3<<- "_AWK_" | column -t -i1 -p2 -r3 -H1,2 | sed 's/─/& /'
|
||||||
MATCH p=(n)-[*]->(m)
|
MATCH p=(n)-[*]->(m)
|
||||||
WHERE any(n in nodes(p) where n.name = '$HOST') AND not exists(()-->(n)) AND not exists((m)-->())
|
WHERE any(n in nodes(p) where n.name = '$HOST') AND not exists(()-->(n)) AND not exists((m)-->())
|
||||||
UNWIND nodes(p) AS nn
|
UNWIND nodes(p) AS nn
|
||||||
|
Loading…
Reference in New Issue
Block a user