Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

233
Visualizações
Gremlin query to get all interconnected vertex value in javascript

Can any one help me to figure out how to fetch content of all vertex which are connected each other in javascript , I need all the values of all vertex which are connected

For example in below diagram I have a business vertex and there are two outgoing edges from business , what I need is all the contents of business vertex and video and image vertex

graph look like this

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Gremlin provides a variety of ways that you might be able to handle this as your description of the desired results was a bit vague. However you will want to use a combination of traversing steps (out() step), filtering steps (has()/hasLabel()) combined with the path() step to get the list of vertices and then return the data using elementMap(). I have put a demonstration of this here:

https://gremlify.com/a78ox51u9os/1

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda