customer id
This commit is contained in:
+1
-1
@@ -144,7 +144,7 @@ def salary_demousers():
|
||||
dList = []
|
||||
|
||||
|
||||
SELECT_DEMO_ENTRY = f"SELECT id,uid, name,offers,salary_account,current_loans,mobile,bvn, email, pin, added::text FROM demo_bank_accounts ORDER BY id ASC"
|
||||
SELECT_DEMO_ENTRY = f"SELECT id,uid, bvn AS CustomerID, name,offers,salary_account,current_loans,mobile,bvn, email, pin, added::text FROM demo_bank_accounts ORDER BY id ASC"
|
||||
# print(SELECT_DEMO_ENTRY)
|
||||
with connection:
|
||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||
|
||||
Reference in New Issue
Block a user