1

I'm using Go connector taosRestful to access TDengine. I want to check databases and tables, so I execute : db.Exec("show databases") But I got an error "wrong result". Can't taosRestful execute this statement? Or is there another way to write it?

I Googled the question but got no answer

1 Answers1

0

You should use taos.Query() to execute a query command. taos.Exec() is for inserting.

Shuduo
  • 727
  • 5
  • 14