SDK reference / V1 / Projects / Item / Locations / Item / PostgresClusters / WithClusterQuery

WithClusterQueryRequestBuilder

Kind: class

Namespace: Egulu.Sdk.V1.Projects.Item.Locations.Item.PostgresClusters.WithClusterQuery

Request path: /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:query

Builds and executes requests for operations under \v1\projects\{project}\locations\{location}\postgresClusters\{cluster}:query

Methods

SignatureDescription
Task<Models.Databases.PostgresQueryResult?> PostAsync(Models.Databases.PostgresQueryRequest body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)Runs one read-only statement and returns its rows once, kept nowhere. It reads tenant data, so a passkey confirms every call and the callis audited as data access (statement hash, database, row count; never the text or the rows). The server runs it in a read-only transactionas a role that lives for one call.