Skip to main content

Detabase <--> SQL proxy

Project description

Attention! not for production

sql deta

this mixin wraps just a few Peewee methods

Model.create_table()
Model.save() calls deta.Base(tabel_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.mirrored 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

TODO

Project details


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

sql_deta-0.0.8a3-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file sql_deta-0.0.8a3-py3-none-any.whl.

File metadata

  • Download URL: sql_deta-0.0.8a3-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for sql_deta-0.0.8a3-py3-none-any.whl
Algorithm Hash digest
SHA256 50abfb7d33c275c26c1212a05455d016c3884b87b8535ac22823e0659c153377
MD5 adb0f008cab33a427f885eb0d3aa40cc
BLAKE2b-256 32f4ac2e9e69afa3f5dc69897799e9abdfce2c2208bed32e8de4407a57912e9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page