select

inline suspend fun select(columns: Columns = Columns.ALL, request: SelectRequestBuilder.() -> Unit = {}): PostgrestResult(source)

Executes vertical filtering with select on table

Return

PostgrestResult which is either an error, an empty JsonArray or the data you requested as an JsonArray

Parameters

columns

The columns to retrieve, defaults to Columns.ALL. You can also use Columns.list, Columns.type or Columns.raw to specify the columns

request

Additional configurations for the request including filters

Throws

or one of its subclasses if receiving an error response

HttpRequestTimeoutException

if the request timed out

on network related issues