Skip to content

TableRunner.select() method

Home > @direct-sqlite/core > TableRunner > select

Generates a targeted selection pipeline targeting specified key components. Defaults to SELECT *.

Signature:

select<K extends keyof TRow>(...columns: K[]): SelectQueryBuilder<TRow, K>;

Parameter

Type

Description

columns

K[]

An optional list of column names to select. If omitted, all columns will be selected.

Returns:

SelectQueryBuilder<TRow, K>

A SelectQueryBuilder instance for building and executing the SELECT query.