orm-database 0.3.18__tar.gz → 0.3.19__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orm_database
3
- Version: 0.3.18
3
+ Version: 0.3.19
4
4
  Summary: This module is written to launch your programs with any database you want in the shortest time
5
5
  Home-page: https://github.com/sisrsis/orm-database
6
6
  Author: SISRSIS
@@ -58,11 +58,9 @@ class MariaDB:
58
58
  query = query_select(table=table,filed=filed,all=all)
59
59
  cur.execute(query)
60
60
  result = cur.fetchall()
61
- print(result)
62
61
  data = {}
63
62
  data_row = []
64
63
  for a in result:
65
- print(a)
66
64
  conter = 0
67
65
  for b in a:
68
66
  data[filed[conter]] = b
@@ -129,7 +127,6 @@ class PostgreSQL:
129
127
  query = query[:-1]
130
128
  query = query + " FROM " + table
131
129
 
132
- print(query)
133
130
  stmt = await self.db.prepare(query)
134
131
  # for a in stmt:
135
132
  result = list(await stmt.fetch())
@@ -141,7 +138,6 @@ class PostgreSQL:
141
138
  data[filed[conter]] = b
142
139
  conter += 1
143
140
  data_row.append(dict(data))
144
- print(data_row)
145
141
  return data_row
146
142
 
147
143
 
@@ -231,4 +227,3 @@ class Mongodb:
231
227
  async def delete_one(self, find: dict, collection: str):
232
228
  coll = self.database[collection]
233
229
  result = coll.delete_one(find)
234
- print(result)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orm_database
3
- Version: 0.3.18
3
+ Version: 0.3.19
4
4
  Summary: This module is written to launch your programs with any database you want in the shortest time
5
5
  Home-page: https://github.com/sisrsis/orm-database
6
6
  Author: SISRSIS
@@ -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.18',
9
+ version='0.3.19',
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