postgresdb3 0.3.4__tar.gz → 0.3.5__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.
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/PKG-INFO +1 -5
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/README.md +0 -4
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3.egg-info/PKG-INFO +1 -5
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/setup.py +1 -1
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3/__init__.py +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3/async_db.py +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3/sync_db.py +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3.egg-info/SOURCES.txt +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3.egg-info/dependency_links.txt +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3.egg-info/requires.txt +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/postgresdb3.egg-info/top_level.txt +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/pyproject.toml +0 -0
- {postgresdb3-0.3.4 → postgresdb3-0.3.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: postgresdb3
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Python uchun oddiy PostgreSQL wrapper
|
|
5
5
|
Author: Abdulbosit Alijonov
|
|
6
6
|
Project-URL: Source Code, https://github.com/AlijonovUz/PostgresDB
|
|
@@ -142,10 +142,6 @@ async def main():
|
|
|
142
142
|
specific_users = await db.select("users", where=("age > $1 AND name = $2", [18, "Ali"]))
|
|
143
143
|
print("Maxsus foydalanuvchi:", specific_users)
|
|
144
144
|
|
|
145
|
-
# Faqat 2 ta qatorni olish
|
|
146
|
-
users = await db.select("users", fetchmany=2)
|
|
147
|
-
print(users)
|
|
148
|
-
|
|
149
145
|
# Jadvaldagi ma'lumotni yangilash
|
|
150
146
|
await db.update("users", "age", 26, "name", "Ali")
|
|
151
147
|
|
|
@@ -120,10 +120,6 @@ async def main():
|
|
|
120
120
|
specific_users = await db.select("users", where=("age > $1 AND name = $2", [18, "Ali"]))
|
|
121
121
|
print("Maxsus foydalanuvchi:", specific_users)
|
|
122
122
|
|
|
123
|
-
# Faqat 2 ta qatorni olish
|
|
124
|
-
users = await db.select("users", fetchmany=2)
|
|
125
|
-
print(users)
|
|
126
|
-
|
|
127
123
|
# Jadvaldagi ma'lumotni yangilash
|
|
128
124
|
await db.update("users", "age", 26, "name", "Ali")
|
|
129
125
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: postgresdb3
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Python uchun oddiy PostgreSQL wrapper
|
|
5
5
|
Author: Abdulbosit Alijonov
|
|
6
6
|
Project-URL: Source Code, https://github.com/AlijonovUz/PostgresDB
|
|
@@ -142,10 +142,6 @@ async def main():
|
|
|
142
142
|
specific_users = await db.select("users", where=("age > $1 AND name = $2", [18, "Ali"]))
|
|
143
143
|
print("Maxsus foydalanuvchi:", specific_users)
|
|
144
144
|
|
|
145
|
-
# Faqat 2 ta qatorni olish
|
|
146
|
-
users = await db.select("users", fetchmany=2)
|
|
147
|
-
print(users)
|
|
148
|
-
|
|
149
145
|
# Jadvaldagi ma'lumotni yangilash
|
|
150
146
|
await db.update("users", "age", 26, "name", "Ali")
|
|
151
147
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|