Detabase <--> SQL proxy
Project description
Attention! not for production
sql deta under construction
this mixin wraps just a few Peewee methods
| Model.create_table() | .load() if Meta.mirroring is True |
| Model.save() | deta.Base(table_name).put( dirty_fields or all columns ) |
| Model.insert() | calls .save() |
| Model.create() | calls .save() |
| Model.update() | not wrapped |
| Model.Meta.deta | deta.Deta(DETA_KEY) |
| Model.Meta.mirroring | always sync full table, after create & before exit , False default |
how it work
License
- It's opensource and free software, see the LICENSE for more details
similar projects
- ssqlite3 store binary
datafile.sqlite3in DetaBase tables - ODetaM Object Document Mapper for DetaBase based on pydantic
- detadantic Active-Record style wrappers to Deta Base
- deta-base-pydantic
- csv-deta
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
File details
Details for the file sql_deta-0.0.10a4-py3-none-any.whl.
File metadata
- Download URL: sql_deta-0.0.10a4-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8c786ef985d93a98e8752d8eca0d42167f55670845ba9abf6c83a7adcc93699
|
|
| MD5 |
19dcff6fe63bab796af4a68b50e21ea3
|
|
| BLAKE2b-256 |
74be7ea96e8a1c1469f89eccf8be53e998aec417bd9e1dbaf0ef63b1b2de9ee3
|