Skip to content

Commit 0018e9f

Browse files
committed
Elixir: Copy editing
1 parent 9fbd601 commit 0018e9f

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/connect/elixir/index.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ result = Postgrex.query!(conn, "SELECT region, mountain, height FROM sys.summits
5252
IO.inspect(result)
5353
```
5454

55-
:::{include} ../_cratedb.md
56-
:::
57-
```shell
58-
mix deps.get
59-
mix run example.exs
60-
```
61-
6255
:::{rubric} CrateDB Cloud
6356
:::
6457

@@ -79,7 +72,20 @@ options = [
7972
]
8073
```
8174

82-
## Example
75+
:::{rubric} Quickstart example
76+
:::
77+
78+
Create the files `mix.exs` and `example.exs` including the synopsis code shared above.
79+
80+
:::{include} ../_cratedb.md
81+
:::
82+
```shell
83+
mix deps.get
84+
mix run example.exs
85+
```
86+
87+
:::{rubric} Full example
88+
:::
8389

8490
:::{card}
8591
:link: https://github.com/crate/cratedb-examples/tree/main/by-language/elixir-postgrex

0 commit comments

Comments
 (0)