You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refer to the definition to access PostgreSQL, I used the above to create DBManager, but when I execute 'manager.execute_query()', there is an error noticed that the type of querySql should be 'dict'
then, I modified the statement as 'querySql="{query: select * from table1}"' , it cant work with other error information.
can you give me a real example of how to set the param of 'querySql'?
The text was updated successfully, but these errors were encountered:
manager = DBManager(db_type=constant.DB_TYPE['POSTGRES'],
username='xxxxxxx',
password='xxxxx',
host='xxxxx',
port=xxxxx,
database='xxxxx',
querySql="select * from table1"
)
refer to the definition to access PostgreSQL, I used the above to create DBManager, but when I execute 'manager.execute_query()', there is an error noticed that the type of querySql should be 'dict'
then, I modified the statement as 'querySql="{query: select * from table1}"' , it cant work with other error information.
can you give me a real example of how to set the param of 'querySql'?
The text was updated successfully, but these errors were encountered: