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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
angola-0.17.0.tar.gz
(39.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
angola-0.17.0-py3-none-any.whl
(40.7 kB
view details)
File details
Details for the file angola-0.17.0.tar.gz.
File metadata
- Download URL: angola-0.17.0.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41b525999588e75d01e6501c169ade16d119c8100000bd0f76cd0595c74e585d
|
|
| MD5 |
6e4f093408f2a82b79ab66d4a91b4770
|
|
| BLAKE2b-256 |
e147cd159646587ff8fc681742edb9c43a7ee5131c2f73cc6df23aee683aa1e8
|
File details
Details for the file angola-0.17.0-py3-none-any.whl.
File metadata
- Download URL: angola-0.17.0-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
578e2e0ee3707029ec3f99183e59705874f1479e9251ed6b64b071b8ff8c2814
|
|
| MD5 |
017ec19211a305b22df04b0ac7f51467
|
|
| BLAKE2b-256 |
d6f9373965ca04975efbeae6b282cddcc7dc8d3b447a6f593b27479c35ffcdda
|