Skip to content

Add block with reusable variables to queries #318

Description

@larsk21

We could add a block between the source and target section of a query to define reusable variables. Example:

from Person p
let {
  fullName := p.firstName + " " + p.lastName
}
create {
  name := fullName
  id := fullName.toUpperCase.replaceAll(" ", "")
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageChanges to the language (grammar or semantics)questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions