Getting started with Dgraph #1: running, mutations, and queries

Поделиться
HTML-код
  • Опубликовано: 3 ноя 2024

Комментарии • 13

  • @thyagtubes
    @thyagtubes 4 года назад +2

    I think today graph databases are on the fringes in large enterprises. Dgraph has the potential to make graph databases mainstream. Focus extensively on dev tooling/integrations and education.
    Great tutorial by the way.

    • @MikePeiman
      @MikePeiman 4 года назад +1

      Agreed! the great gap I can see - as a front-end independent developer - is dev experience (tools, integrations, education - make it EASY, PLEASE!). You might be able to rule the market for every developer or small team that is not backend expert, or just wants a smooth, easy dev-deploy experience!

  • @augusttinahell
    @augusttinahell 5 лет назад +4

    Fanfare, applaus for the start of this episodes! Great, keep on going :)

  • @skzanderson
    @skzanderson 3 года назад +5

    Fun Fact -> Ratel isn't in the latest image anymore port 8000 is useless

  • @ColinFox
    @ColinFox 4 года назад +6

    The tutorial is not working for me. I'm following all the instructions, and at 3:33 he makes the "ann follows ben" mutation, but when I enter it *exactly* as he has it, I get this error:
    Error: t: while lexing { "set":[ { "name":"Ann", "age":28, "follows":[ { "name":"Ben", "age":31 } ] }, } at line 2 column 2: Unrecognized character inside mutation: U+0022 '"'
    So I change the double quotes enclosing "set" with single ticks, and get:
    Error: t: while lexing { 'set':[ { "name":"Ann", "age":28, "follows":[ { "name":"Ben", "age":31 } ] }, } at line 2 column 2: Unrecognized character inside mutation: U+0027 '''
    So I take the quotes out entirely around the word "set", and now get:
    Error: t: while lexing { set:[ { "name":"Ann", "age":28, "follows":[ { "name":"Ben", "age":31 } ] }, } at line 2 column 5: Unrecognized character inside mutation: U+003A ':'
    I love the idea of this dgraph, but why is it so difficult to make even the simplest mutation?
    UPDATE: The problem is the comma on line 12 at 3:28, which is mysteriously missing at 3:33 when the program runs successfully. Please add a notation to the video or something so others trying to follow along also don't go mad. :p Also - the actual error was the comma, but the error message indicated a completely different line and issue. It'd be nice if the lexer was smarter about what's actually wrong.

    • @mattph76b
      @mattph76b 3 года назад

      Thanks for this, I was running into the same issue and your comment saved me a lot of time.

  • @fceruti
    @fceruti 5 лет назад

    Can't wait for next episode :)

  • @kavinvarnan3056
    @kavinvarnan3056 5 лет назад

    Amazing course. Keep going

  • @ajinkyax
    @ajinkyax 5 лет назад +1

  • @doit7582
    @doit7582 4 года назад

    thanks, good tutorial

  • @leidygarciavargas1717
    @leidygarciavargas1717 3 года назад +1

    i could not run docker it says it is not recognized as an internal command help me please. I use windows

    • @mukilankrishnakumar5591
      @mukilankrishnakumar5591 Год назад

      I think I am very late for helping you but you can run the following command and continue with this tutorial.
      docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:v20.11.3

  • @AhmedThaking
    @AhmedThaking 2 года назад

    Seems like Neo4j and cypher is alot easier to read and write...