Vaibhav84 commited on
Commit
66bde0d
·
1 Parent(s): ce2b503

Update Skills

Browse files
Files changed (1) hide show
  1. AddSkillDetails.py +7 -3
AddSkillDetails.py CHANGED
@@ -62,6 +62,10 @@ class AddSkill:
62
  return returnMsg
63
  def GetSkillDetails():
64
  conn = DbConnection.GetMySQLDbConnection()
65
- query = "select skilldetails from skillmaster"
66
- data = pd.read_sql_query(query, conn)
67
- return data.describe()
 
 
 
 
 
62
  return returnMsg
63
  def GetSkillDetails():
64
  conn = DbConnection.GetMySQLDbConnection()
65
+ cursor = conn.cursor()
66
+ cursor.execute("SELECT * FROM skillmaster")
67
+ cursor.close()
68
+ # Close the connection
69
+ conn.close()
70
+ return cursor.fetchall()
71
+