• Rough_N_Ready@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    11
    ·
    1 year ago

    This looks cool, but I wish it were easier to use. I see you can create files and then have prql’s vscode extension create sql files out of them, but I don’t always have a separate file per query in my app development projects. It would be nice if they could convert snippets - maybe code comments containing prql - that it converts into sql strings.

    • verstra
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s because the tooling is not there quite yet. For what you describe, that would have to be implemented by the compiler bindings for your language. And it’s not that hard - basically one function. But yeah, not there yet.