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.
Release files for eam-db-helper 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eam_db_helper-0.0.6.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eam_db_helper-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / eam_db_helper-0.0.6.tar.gz
| Download URL | eam_db_helper-0.0.6.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae9af9248291d2ab4566df6cdacc337d1ff06d48fa2f5cbea7766a6039217e4b
|
|
BLAKE2b-256 checksum How to use checksums |
4cad23a5dfd739d27dc72a7271c04d87e565905f133363dca3d3fb6690b79a4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.12
|
Release files / eam_db_helper-0.0.6-py3-none-any.whl
| Download URL | eam_db_helper-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8293d2ce7610aa840981685d664c22dd347bc954bbf356b208774499e6c94f4a
|
|
BLAKE2b-256 checksum How to use checksums |
982e760e373511e3714410be0471cde48b3b273e5a5f3cdb6caf404bc9b25778
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.12
|