File tree Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,6 @@ start() ->
4141 init :stop ().
4242```
4343
44- :::{include} ../_ cratedb.md
45- :::
46- ``` shell
47- rebar3 compile
48- erlc epgsql_example.erl
49- rebar3 shell --eval ' epgsql_example:start().'
50- ```
51-
5244:::{rubric} CrateDB Cloud
5345:::
5446
@@ -71,6 +63,19 @@ start() ->
7163 }),
7264```
7365
66+ :: :{rubric } Example
67+ :: :
68+
69+ Create the files `rebar .config ` and `epgsql_example .erl ` including the synopsis code shared above .
70+
71+ :: :{include } ../ _cratedb .md
72+ :: :
73+ ```shell
74+ rebar3 compile
75+ erlc epgsql_example .erl
76+ rebar3 shell -- eval 'epgsql_example:start().'
77+ ```
78+
7479
7580[ epgsql ] : https://github.com/epgsql/epgsql
7681[ SSL application ] : https://www.erlang.org/docs/28/apps/ssl/ssl_app.html
Original file line number Diff line number Diff line change @@ -38,12 +38,6 @@ main(_) ->
3838 init :stop ().
3939```
4040
41- :::{include} ../_ cratedb.md
42- :::
43- ``` shell
44- escript odbc_example.erl
45- ```
46-
4741:::{rubric} CrateDB Cloud
4842:::
4943
@@ -63,6 +57,18 @@ main(_) ->
6357 init :stop ().
6458```
6559
60+ :::{rubric} Example
61+ :::
62+
63+ Create the file ` odbc_example.erl ` including the synopsis code shared above.
64+
65+ :::{include} ../_ cratedb.md
66+ :::
67+ ``` shell
68+ escript odbc_example.erl
69+ ```
70+
6671
6772[ Erlang ODBC examples ] : https://www.erlang.org/doc/apps/odbc/getting_started.html
6873[ ODBC application ] : https://www.erlang.org/docs/28/apps/odbc/odbc.html
74+ [ SSL application ] : https://www.erlang.org/docs/28/apps/ssl/ssl_app.html
You can’t perform that action at this time.
0 commit comments