jeremydaly / data-api-client

A "DocumentClient" for the Amazon Aurora Serverless Data API
MIT License
439 stars 61 forks source link

Unable to make queries that don't depend on a database #47

Closed srchulo closed 4 years ago

srchulo commented 4 years ago

If I want to run a query like:

SHOW DATABASES

I get this error:

"errorMessage": "No 'database' provided."

Even though I'm able to run a command like this on no database and get results:

aws rds-data execute-statement --resource-arn $resourceArn --secret-arn $secretArn --sql "SHOW DATABASES"

Would it be possible to allow queries that aren't tied to a specific database?

jeremydaly commented 4 years ago

All set. Will be pushed in the next release.

srchulo commented 4 years ago

Awesome, thanks! :)