Sorry if this is a novice error but I had some problems with SELECT. I executed a query for retrieving all the stocks, which were purchased by a user, in a database called portfolio. 'Usernamer' is a global variable with the value of the current users username. The command is as follows:
stocks = db.execute("SELECT stock FROM portfolio WHERE username = :username", username = usernamer)
What will the data type that the command returns be? Will it be a list of the stocks?
Thanks for looking into this matter!