postgresdb3 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: postgresdb3
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Python uchun oddiy PostgreSQL wrapper
5
5
  Author: Abdulbosit Alijonov
6
6
  Project-URL: Source Code, https://github.com/AlijonovUz/PostgresDB
@@ -211,5 +211,3 @@ ma'lumotni yangilash.
211
211
  `commit=True` bo‘lgan amallar darhol bazaga yoziladi, select() esa hech qachon o‘zgartirish kiritmaydi.
212
212
 
213
213
  `raw()` — barcha SQL buyruqlarini bajaruvchi yagona metod bo‘lib, kerak bo‘lganda to‘g‘ridan‑to‘g‘ri SQL yozish imkonini beradi.
214
-
215
- PostgreSQL bilan ishlash uchun `psycopg2` kutubxonasi talab qilinadi.
@@ -188,6 +188,4 @@ ma'lumotni yangilash.
188
188
 
189
189
  `commit=True` bo‘lgan amallar darhol bazaga yoziladi, select() esa hech qachon o‘zgartirish kiritmaydi.
190
190
 
191
- `raw()` — barcha SQL buyruqlarini bajaruvchi yagona metod bo‘lib, kerak bo‘lganda to‘g‘ridan‑to‘g‘ri SQL yozish imkonini beradi.
192
-
193
- PostgreSQL bilan ishlash uchun `psycopg2` kutubxonasi talab qilinadi.
191
+ `raw()` — barcha SQL buyruqlarini bajaruvchi yagona metod bo‘lib, kerak bo‘lganda to‘g‘ridan‑to‘g‘ri SQL yozish imkonini beradi.
@@ -150,7 +150,7 @@ class AsyncPostgresDB:
150
150
  sql += " OFFSET $%d" % (len(params) + 1)
151
151
  params.append(offset)
152
152
 
153
- return await self._manager(sql, params, fetchone=fetchone, fetchall=not fetchone)
153
+ return await self._manager(sql, *params, fetchone=fetchone, fetchall=not fetchone)
154
154
 
155
155
  async def insert(self, table: str, columns: str, values: List[Any]) -> None:
156
156
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: postgresdb3
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Python uchun oddiy PostgreSQL wrapper
5
5
  Author: Abdulbosit Alijonov
6
6
  Project-URL: Source Code, https://github.com/AlijonovUz/PostgresDB
@@ -211,5 +211,3 @@ ma'lumotni yangilash.
211
211
  `commit=True` bo‘lgan amallar darhol bazaga yoziladi, select() esa hech qachon o‘zgartirish kiritmaydi.
212
212
 
213
213
  `raw()` — barcha SQL buyruqlarini bajaruvchi yagona metod bo‘lib, kerak bo‘lganda to‘g‘ridan‑to‘g‘ri SQL yozish imkonini beradi.
214
-
215
- PostgreSQL bilan ishlash uchun `psycopg2` kutubxonasi talab qilinadi.
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="postgresdb3",
8
- version="0.3.1",
8
+ version="0.3.2",
9
9
  packages=find_packages(),
10
10
  install_requires=[
11
11
  "psycopg2>=2.9",
File without changes
File without changes