interface postgres { use rdbms-types.{parameter-value, row-set, error}; /// A connection to a postgres database. resource connection { /// Open a connection to the Postgres instance at `address`. open: static func(address: string) -> result; /// Query the database. query: func(statement: string, params: list) -> result; /// Execute command to the database. execute: func(statement: string, params: list) -> result; } }