File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,9 +190,11 @@ Then we tell our ``db`` object to connect to this database::
190190 asyncio.get_event_loop().run_until_complete(main())
191191
192192If this runs successfully, then you are connected to the newly created database.
193- Here ``asyncpg `` indicates the database dialect and driver to use, ``localhost ``
194- is where the server is, and ``gino `` is the name of the database. Check
195- `here <https://docs.sqlalchemy.org/en/latest/core/engines.html >`__ for more
193+ Here ``postgresql `` indicates the database dialect to use (the default driver
194+ is ``asyncpg ``, you can explicitly specify that with ``postgresql+asyncpg:// ``,
195+ or simply ``asyncpg:// ``), ``localhost `` is where the server is, and ``gino ``
196+ is the name of the database. Check `here
197+ <https://docs.sqlalchemy.org/en/latest/core/engines.html> `__ for more
196198information about how to compose this database URL.
197199
198200.. note ::
You can’t perform that action at this time.
0 commit comments