A package to interact with ms graph /users functionality
Project description
This package is used as a layer above MS cosmos db python sdk to interact with data in ms cosmos db sql api.
DatabaseHelper:
DatabaseHelper.get_results():
This method is ussed to get the results from the cosmos db. It takes the query and the parameters of the query as input and returns the results as a list.
DatabaseHelper.get_result():
This method is used to get the result from the cosmos db. It takes the query and the parameters of the query as input and returns the result as a dictionary.
DatabaseHelper.get_column():
This method is used to get the column from the cosmos db. It takes the query and the parameters of the query as input and returns the column as a list.
DatabaseHelper.delete_item():
This method is used to delete the item from the cosmos db. It takes the item id, as well as the partition key (type) as input and returns None.
DatabaseHelper.upsert():
This method is used to upsert the item in the cosmos db. It takes the item as input and returns None.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eam_db_helper-0.0.6.tar.gz
.
File metadata
- Download URL: eam_db_helper-0.0.6.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9af9248291d2ab4566df6cdacc337d1ff06d48fa2f5cbea7766a6039217e4b |
|
MD5 | 4ba56276ce4abcbbc4c1c2a0a7a4fa34 |
|
BLAKE2b-256 | 4cad23a5dfd739d27dc72a7271c04d87e565905f133363dca3d3fb6690b79a4f |
File details
Details for the file eam_db_helper-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: eam_db_helper-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8293d2ce7610aa840981685d664c22dd347bc954bbf356b208774499e6c94f4a |
|
MD5 | 2eedc30a4714aa6cdcdd1e24e358ad27 |
|
BLAKE2b-256 | 982e760e373511e3714410be0471cde48b3b273e5a5f3cdb6caf404bc9b25778 |