Skip to content

SelectQueryBuilder.get() method

Home > @direct-sqlite/core > SelectQueryBuilder > get

Pulls the primary single entry record matching the structured query layout.

Signature:

get(): Pick<TRow, TSelectedKey> | undefined;

Returns:

Pick<TRow, TSelectedKey> | undefined

An object representing a single row returned by the executed SELECT query, with properties corresponding to the selected columns.