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.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

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.10a0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file sql_deta-0.0.10a0-py3-none-any.whl.

File metadata

  • Download URL: sql_deta-0.0.10a0-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

Hashes for sql_deta-0.0.10a0-py3-none-any.whl
Algorithm Hash digest
SHA256 dde3300d21eb89c2d2c26f2e83384d3985570e76047179ecaedd7bef196ebaa4
MD5 54817ca60611ce7fac3fedd50a32fd66
BLAKE2b-256 76d76d6b01bd5d2a8c3f7a10d12d13ae65e40a5366c10656cebd134bc04efac6

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