MCPcopy Index your code
hub / github.com/drizzle-team/drizzle-orm / select

Method select

drizzle-orm/src/sqlite-core/db.ts:218–227  ·  view source on GitHub ↗
(
			fields?: SelectedFields,
		)

Source from the content-addressed store, hash-verified

216 fields: TSelection,
217 ): SQLiteSelectBuilder<TSelection, TResultKind, TRunResult>;
218 function select(
219 fields?: SelectedFields,
220 ): SQLiteSelectBuilder<SelectedFields | undefined, TResultKind, TRunResult> {
221 return new SQLiteSelectBuilder({
222 fields: fields ?? undefined,
223 session: self.session,
224 dialect: self.dialect,
225 withList: queries,
226 });
227 }
228
229 /**
230 * Adds `distinct` expression to the select query.

Callers 1

selectFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected