python mysql OOP class
Reason this release was yanked:
Error
Project description
mysql oop
sqlite Object Oriented
from sqliteoop import sqlite
db = sqlite("./demo.db")
# create table
createtable = db.table("user_name").create_table({
"id":"INTEGER PRIMARY KEY AUTOINCREMENT",
"name":"VARCHAR(80) NOT NULL"
})
print(createtable)
# create datas
insert = db.table("user_name").insert([{"name": "davie"}, {"name": "johan"}])
# create data
insert = db.table("user_name").create({"name": "davie"})
# delete
db.table("user_name").where("id",1).delete()
db.table("user_name").where("name","davie").delete()
# update
db.table("user_name").where("name","davie").updata({"name":"lisa"})
# select
db.table("user_name").where("name","<>","davie").limit(5).select("*")
# find
db.table("user_name").where("name","johan").find("*")
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
mysql-oop-0.0.4.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file mysql-oop-0.0.4.tar.gz
.
File metadata
- Download URL: mysql-oop-0.0.4.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39acfa069b3ce92829639efbaf9db4d9ba5f319678279282eb2355c9c35b7c6a |
|
MD5 | 1e18b3f54cc396a0c20c4e9ed905f3b7 |
|
BLAKE2b-256 | 61510c3d6824f5ce5ec0186efcda91cd8d8de5cc33b6f6b22cb10e55a4d93d45 |
File details
Details for the file mysql_oop-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: mysql_oop-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedd02ec0e46d4a3af2e40c79bbd9c0cf6fa0f4e9ca816bdc93d3d886dbf4191 |
|
MD5 | 67434ac36cde142337c2c2cc563aa157 |
|
BLAKE2b-256 | c0757ed2f21239b787d2d3a8c07fd641ee624b9245e41419acf2aa0915670fe9 |