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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sql_deta-0.0.8a4-py3-none-any.whl
  • Upload date:
  • Size: 15.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.8a4-py3-none-any.whl
Algorithm Hash digest
SHA256 31ee005469f580182c67bca5d060a23344db5e13f08fa7b6ff19c97d53883dc1
MD5 5356ef17c0a7fc4fb487355e7819165e
BLAKE2b-256 a4af6e68a76103f607432cbfe492ab691cfc0cc9527095bdee18b329893c861c

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