Модуль для простого использования БД 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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for DB_helper-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 784a9f5377ba5ced4b9ccc7a40c805f0a195014d43e6c1178877ffffbc66d308 |
|
MD5 | 2576047c1fae040e9e34a65323dc6f2e |
|
BLAKE2b-256 | a574f9cdbdb7591393bb99980055acd87b8863a4ecc67003d9cccdd0cd14c87c |