orm-database 0.3.13__tar.gz → 0.3.14__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {orm_database-0.3.13 → orm_database-0.3.14}/PKG-INFO +1 -1
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database/orm_database.py +7 -4
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database.egg-info/PKG-INFO +1 -1
- {orm_database-0.3.13 → orm_database-0.3.14}/setup.py +1 -1
- {orm_database-0.3.13 → orm_database-0.3.14}/LICENSE +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/README.md +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database/__init__.py +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database/orm_query.py +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database.egg-info/SOURCES.txt +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database.egg-info/dependency_links.txt +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database.egg-info/requires.txt +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/orm_database.egg-info/top_level.txt +0 -0
- {orm_database-0.3.13 → orm_database-0.3.14}/setup.cfg +0 -0
@@ -97,10 +97,13 @@ class PostgreSQL:
|
|
97
97
|
|
98
98
|
|
99
99
|
async def teble_create_BaseModel(self,table:str , class_BaseModel):
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
100
|
+
try:
|
101
|
+
query=query_baseModel_create_table(table,class_BaseModel)
|
102
|
+
await self.db.execute(query)
|
103
|
+
await self.db.close()
|
104
|
+
return True
|
105
|
+
except:
|
106
|
+
return False
|
104
107
|
|
105
108
|
async def teble_create(self, table: str, field: dict):
|
106
109
|
query=query_create_table(table,field)
|
@@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
6
6
|
|
7
7
|
setup(
|
8
8
|
name='orm_database',
|
9
|
-
version='0.3.
|
9
|
+
version='0.3.14',
|
10
10
|
description='This module is written to launch your programs with any database you want in the shortest time ',
|
11
11
|
license="MIT",
|
12
12
|
author='SISRSIS',
|
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
|