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

Method insert

drizzle-orm/src/sqlite-core/db.ts:325–327  ·  view source on GitHub ↗

* Creates an insert query. * * Calling this method will create new rows in a table. Use `.values()` method to specify which values to insert. * * See docs: https://orm.drizzle.team/docs/insert * * @param table The table to insert into. * * @example * * ```ts

(into: TTable)

Source from the content-addressed store, hash-verified

323 * ```
324 */
325 function insert<TTable extends SQLiteTable>(into: TTable): SQLiteInsertBuilder<TTable, TResultKind, TRunResult> {
326 return new SQLiteInsertBuilder(into, self.session, self.dialect, queries);
327 }
328
329 /**
330 * Creates a delete query.

Callers 1

insertFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected