Skip to content

Commit

Permalink
docs: add .env file to postgres example
Browse files Browse the repository at this point in the history
  • Loading branch information
tibue99 committed Nov 8, 2024
1 parent 52ad045 commit e9e30de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/examples/database/postgres.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ PostgreSQL
EzCord provides a helper class to simplify ``asyncpg`` database calls. Create a subclass of
:class:`~ezcord.sql.PGHandler` to get started.

.. literalinclude:: ../../../examples/database/example.env
:language: python
:caption: .env.example

.. literalinclude:: ../../../examples/database/postgres.py
:language: python
:caption: main.py

0 comments on commit e9e30de

Please sign in to comment.