orm-database 0.3.22__tar.gz → 0.3.23__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.2
2
2
  Name: orm_database
3
- Version: 0.3.22
3
+ Version: 0.3.23
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
@@ -276,3 +276,17 @@ async def main():
276
276
  await postgres.update_one("pending_order1",{"id":1},{"users":"sis"})
277
277
 
278
278
  ```
279
+
280
+ ## find list
281
+
282
+ ```python
283
+ data = await postgres.find_list("test",{'username':'s1'})
284
+ ```
285
+ ### output
286
+ ```json
287
+ [
288
+ {'id': 13, 'username': 's1', 'market': 'BTC', 'price':97596.33},
289
+ {'id': 14, 'username': 's1', 'market': 'BTC', 'price':97596.33}
290
+ ]
291
+
292
+ ```
@@ -254,3 +254,17 @@ async def main():
254
254
  await postgres.update_one("pending_order1",{"id":1},{"users":"sis"})
255
255
 
256
256
  ```
257
+
258
+ ## find list
259
+
260
+ ```python
261
+ data = await postgres.find_list("test",{'username':'s1'})
262
+ ```
263
+ ### output
264
+ ```json
265
+ [
266
+ {'id': 13, 'username': 's1', 'market': 'BTC', 'price':97596.33},
267
+ {'id': 14, 'username': 's1', 'market': 'BTC', 'price':97596.33}
268
+ ]
269
+
270
+ ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: orm_database
3
- Version: 0.3.22
3
+ Version: 0.3.23
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
@@ -276,3 +276,17 @@ async def main():
276
276
  await postgres.update_one("pending_order1",{"id":1},{"users":"sis"})
277
277
 
278
278
  ```
279
+
280
+ ## find list
281
+
282
+ ```python
283
+ data = await postgres.find_list("test",{'username':'s1'})
284
+ ```
285
+ ### output
286
+ ```json
287
+ [
288
+ {'id': 13, 'username': 's1', 'market': 'BTC', 'price':97596.33},
289
+ {'id': 14, 'username': 's1', 'market': 'BTC', 'price':97596.33}
290
+ ]
291
+
292
+ ```
@@ -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.22',
9
+ version='0.3.23',
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