Postgres Query

Run read-only SQL against a configured Postgres database.

v1.3.2databy norien · updated 10h ago
$ norien tool install postgres-query@1.3.2
Category
data
Runtime
Permissions
0
Environment
0
declared variables

Details

Slug
postgres-query
Version
1.3.2
Runtime
Entrypoint
Authentication
custom
License
Published
10h ago

Requirements

Permissions

None requested.

Dependencies

None.

Tags

databasesqlanalytics

Environment variables

No environment variables

This tool needs no configuration.

Input schema

{
  "type": "object",
  "required": [
    "sql"
  ],
  "properties": {
    "sql": {
      "type": "string"
    },
    "params": {
      "type": "array",
      "items": {}
    }
  }
}

Output schema

{
  "type": "object",
  "properties": {
    "rows": {
      "type": "array",
      "items": {}
    },
    "row_count": {
      "type": "number"
    }
  }
}

Version history