Skip to main content

Модуль для простого использования БД Sqlite3

Project description

Example Package

import

from DB_helper import DataBase
db = DataBase(DB_helper.create_table())

Create_table

db.create_table()

table_name - name columns - values ​​in the form "{VALUE} TYPE (sql), {VALUE} TYPE (sql)" Add data

db.insert_data()

table_name - name data - tuple dats Update data

db.update_data()

table_name - name set_name - sql where_name - sql set_value - sql where_value - sql Delete data

db.delete_data()

table_name - anme where_name - which field to look at value - value in field Get data

db.get_data()

table_name - name returned values in list

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DB_helper-1.1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

DB_helper-1.1.0-py3-none-any.whl (2.7 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