We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f566768 commit 15bf03dCopy full SHA for 15bf03d
python/tests/test_cursor.py
@@ -0,0 +1,16 @@
1
+import pytest
2
+
3
+from psqlpy import PSQLPool
4
5
6
+@pytest.mark.anyio
7
+async def test_cursor_fetch(
8
+ psql_pool: PSQLPool,
9
+ table_name: str,
10
+ number_database_records: int,
11
+) -> None:
12
+ connection = await psql_pool.connection()
13
+ transaction = connection.transaction()
14
+ await transaction.cursor(
15
+ querystring=f"SELECT * FROM {table_name}",
16
+ )
0 commit comments