Skip to content

Commit

Permalink
Merge pull request #301 from JuliaDatabases/ed/illustrative-opts
Browse files Browse the repository at this point in the history
Add some illustrative options to LibPQ.Connection example to help new users
  • Loading branch information
iamed2 authored Aug 17, 2024
2 parents 9609dee + edb0759 commit 1fd2f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A Julia wrapper for the PostgreSQL `libpq` [C library](https://www.postgresql.or
```julia
using LibPQ, Tables

conn = LibPQ.Connection("dbname=postgres")
conn = LibPQ.Connection("dbname=postgres host=localhost port=5432")
result = execute(conn, "SELECT typname FROM pg_type WHERE oid = 16")
data = columntable(result)

Expand Down

0 comments on commit 1fd2f4b

Please sign in to comment.