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 hashes)

Uploaded Python 3

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