Provenance
PublisherPostgreSQL
Freshness & coverage
FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationCredentials required (API key)
Methods (4)
query
readExecute a read-only SQL query wrapped in a READ ONLY transaction.
Required paramssqlInput schema
{ "type": "object", "properties": { "sql": { "type": "string" } }, "additionalProperties": false, "required": [ "sql" ] }listTables
readList tables in a schema with column counts.
Input schema
{ "type": "object", "properties": { "schema": { "type": "string" } }, "additionalProperties": false }Defaults to the public schema when schema is omitted.
describeTable
readDescribe columns for a table including data types and primary key flags.
Required paramstableInput schema
{ "type": "object", "properties": { "table": { "type": "string" }, "schema": { "type": "string" } }, "additionalProperties": false, "required": [ "table" ] }Schema defaults to public when not specified.
listSchemas
readList non-system schemas available in the database.
Input schema
{ "type": "object", "properties": {}, "additionalProperties": false }
