Skip to content

Commit 53bfaf8

Browse files
committed
postgresql example doc
1 parent 3677688 commit 53bfaf8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@ Query field to delete InfluxDB database:
2424

2525
```json
2626
{
27-
"query": "drop databse 'foo'",
27+
"query": "drop database \"foo\"",
2828
"rawQuery": true,
2929
"resultFormat": "time_series"
3030
}
3131
```
3232

33+
Same example with PostgreSQL:
34+
35+
```json
36+
{
37+
"rawSql": "DROP DATABASE foo;",
38+
"format": "table"
39+
}
40+
```
41+
3342
`refId`, `datasourceId` are automatically sent, so you don't have to set them.

0 commit comments

Comments
 (0)