Skip to content

Commit

Permalink
Merge pull request #2390 from opensafely-core/rw/ehrQL-autocomplete-m…
Browse files Browse the repository at this point in the history
…ention

Add brief reference to autocomplete in tutorial
  • Loading branch information
rw251 authored Feb 5, 2025
2 parents 9a390f7 + 80ce0ca commit 95016f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/tutorial/simple-transformations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ show(
)
```

??? tip "Autocomplete"

Notice how you get autocomplete suggestions as you type ehrQL:

![autocomplete example](autocomplete-example.png)

This makes it easier to check your ehrQL is valid, and to discover the various columns and functions on each table.

When you run the code now, you will see a table with two columns indicating each patient's age on the index date, and whether they were alive on the index date.

Each of these columns is a patient series.
Expand Down

0 comments on commit 95016f3

Please sign in to comment.