[TSM.ID].[11031972] PXE : Platform X Ecosystem I [118 Module -LIVE-]
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import psycopg2
|
||||
import json
|
||||
|
||||
conn = psycopg2.connect("dbname=jumpadb user=jumpa_admin password=JumpaS3cur3!@# host=127.0.0.1 port=5432")
|
||||
cur = conn.cursor()
|
||||
cur.execute("SELECT email, licenses FROM users WHERE email = 'keanu@pc24.id'")
|
||||
row = cur.fetchone()
|
||||
print(f"User: {row[0]}")
|
||||
print(f"Licenses: {row[1]}")
|
||||
|
||||
cur.execute("SELECT key, name FROM system_features WHERE key LIKE '%microphone%'")
|
||||
features = cur.fetchall()
|
||||
print("Microphone features:", features)
|
||||
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user