File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ fn create_table_if_not_exists_birds(db_connection) {
5353 is_extinct BOOLEAN
5454 );"
5555 |> postgres.execute_raw_sql(db_connection)
56- |> io.debug
56+ |> echo
5757}
5858
5959fn insert_into_table_birds(db_connection) {
@@ -69,7 +69,7 @@ fn insert_into_table_birds(db_connection) {
6969 )
7070 |> i.to_query
7171 |> postgres.run_write_query(decode.dynamic, db_connection)
72- |> io.debug
72+ |> echo
7373}
7474
7575fn select_from_table_birds(db_connection) {
@@ -78,7 +78,7 @@ fn select_from_table_birds(db_connection) {
7878 |> s.selects([s.col("species")])
7979 |> s.to_query
8080 |> postgres.run_read_query(decode.dynamic, db_connection)
81- |> io.debug
81+ |> echo
8282}
8383
8484fn delete_from_table_birds(db_connection) {
@@ -87,7 +87,7 @@ fn delete_from_table_birds(db_connection) {
8787 |> d.where(w.col("species") |> w.eq(w.string("Dodo")))
8888 |> d.to_query
8989 |> postgres.run_write_query(decode.dynamic, db_connection)
90- |> io.debug
90+ |> echo
9191}
9292```
9393
You can’t perform that action at this time.
0 commit comments