v0.2.0 · Interface

query

Interface for querying a Postgres database.

Unlike wasmcloud:postgres@0.1.1-draft, every operation is an async func, so a single component can issue many in-flight queries concurrently without the wasi:io/poll ceremony required under wasip2. query also streams its result rows rather than buffering the whole result set in host memory before returning.