Skip to content

Commit 9336b08

Browse files
committed
Changed README
1 parent d689b2a commit 9336b08

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Driver for PostgreSQL written fully in Rust and exposed to Python.
44
*Normal documentation is in development.*
55

6-
# Installation
6+
## Installation
77

88
You can install package with `pip` or `poetry`.
99

@@ -53,7 +53,7 @@ async def main() -> None:
5353
```
5454
Please take into account that each new execute gets new connection from connection pool.
5555

56-
# Query parameters
56+
## Query parameters
5757
You can pass parameters into queries.
5858
Parameters can be passed in any `execute` method as the second parameter, it must be a list.
5959
Any placeholder must be marked with `$< num>`.
@@ -65,7 +65,7 @@ Any placeholder must be marked with `$< num>`.
6565
)
6666
```
6767

68-
# Connection
68+
## Connection
6969
You can work with connection instead of DatabasePool.
7070
```python
7171
from typing import Any
@@ -96,7 +96,7 @@ async def main() -> None:
9696
# rust does it instead.
9797
```
9898

99-
# Transactions
99+
## Transactions
100100
Of course it's possible to use transactions with this driver.
101101
It's as easy as possible and sometimes it copies common functionality from PsycoPG and AsyncPG.
102102

@@ -165,7 +165,7 @@ async def main() -> None:
165165
# rust does it instead.
166166
```
167167

168-
### Transactions can be roll backed
168+
### Transactions can be rolled back
169169
You must understand that rollback can be executed only once per transaction.
170170
After it's execution transaction state changes to `done`.
171171
If you want to use `ROLLBACK TO SAVEPOINT`, see below.
@@ -254,7 +254,7 @@ async def main() -> None:
254254
await transaction.commit()
255255
```
256256

257-
# Cursors
257+
## Cursors
258258
Library supports PostgreSQL cursors.
259259

260260
Cursors can be created only in transaction. In addition, cursor supports async iteration.

0 commit comments

Comments
 (0)