select

inline suspend fun <T> Surreal.select(table: String): List<T>

Select

Select all records in a table.

Return

The records in the table

Parameters

T

The type of the records


inline suspend fun <T> Surreal.select(table: String, id: String): T

Select

Select a specific record in a table.

Return

The record in the table

Parameters

table

The table to select the record from

id

The id of the record to select

T

The type of the record


inline suspend fun <T> Surreal.select(id: Thing<T>): T

Select

Select a specific record in a table.

Return

The record in the table

Parameters

id

The id of the record to select

T

The type of the record