Angola
Angola
API
dbxql_to_aqlparse_dict_mutationsgen_xidCollectionCollectionItemCollectionActiveRecordMixin
Connection
import angola
#--- connect
db = angola.db(hosts="http://host:8529", username="root", password:str)
#--- select collection
coll = db.select_collection('test')
#--- insert item
coll.insert({k:v, ...})
#--- insert item with custom _key
coll.insert({k:v,...}, _key='awesome')
Query
{
"_modified_at:$datetime": "+2hh"
}
Format:
YYYY: Year
MM: Month
DD: Date
HH: Hour
mm: Min
ss: seconds
ISODATE: YYYY-MM-DDTHH:mm:ss
$AND and $OR
filters = {
"$or": [
{ // query between dates
"_created_at:$lt": "@@CURRDATE() -2days",
"_created_at:$gt": "@@CURRDATE() +2days"
}
]
}
Insert
Update
Delete
Collection
SubCollection
Operators
Custom Operators
Metadata
Release files for angola 0.17.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| angola-0.17.0.tar.gz | 39.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| angola-0.17.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.3 kB
Release files / angola-0.17.0.tar.gz
| Download URL | angola-0.17.0.tar.gz |
|---|---|
| Size | 39.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41b525999588e75d01e6501c169ade16d119c8100000bd0f76cd0595c74e585d
|
|
BLAKE2b-256 checksum How to use checksums |
e147cd159646587ff8fc681742edb9c43a7ee5131c2f73cc6df23aee683aa1e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|
Release files / angola-0.17.0-py3-none-any.whl
| Download URL | angola-0.17.0-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
578e2e0ee3707029ec3f99183e59705874f1479e9251ed6b64b071b8ff8c2814
|
|
BLAKE2b-256 checksum How to use checksums |
d6f9373965ca04975efbeae6b282cddcc7dc8d3b447a6f593b27479c35ffcdda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|