Skip to main content

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

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

Uploaded Python 3

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

Hashes for sql_deta-0.0.10a4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8c786ef985d93a98e8752d8eca0d42167f55670845ba9abf6c83a7adcc93699
MD5 19dcff6fe63bab796af4a68b50e21ea3
BLAKE2b-256 74be7ea96e8a1c1469f89eccf8be53e998aec417bd9e1dbaf0ef63b1b2de9ee3

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