With reference to Jovian Project- WebDev with Python Flask.
The below code doesnt seem to work and i have tried to search for a solution but in-vain.
connstring=conn.execute(text(“select * from jobs where id=:val”),val=id)
thisjob=connstring.all()
i get the below error.
TypeError: Connection.execute() got an unexpected keyword argument ‘val’
Can you please suggest.