select
Create a SELECT query using the query builder for PostgreSQL.
Import
import { select } from '@evershop/postgres-query-builder';
Syntax
select(...fields: string[]): SelectQuery
Parameters
...fields
Type: string[] (optional)
Field names to select. If omitted or * is passed, selects all fields.
Return Value
Returns a SelectQuery instance that can be chained with additional methods.