MCPcopy
hub / github.com/pocketbase/pocketbase / insert

Method insert

plugins/jsvm/internal/types/generated/types.d.ts:3410–3410  ·  view source on GitHub ↗

* Insert creates a Query that represents an INSERT SQL statement. * The keys of cols are the column names, while the values of cols are the corresponding column * values to be inserted.

(table: string, cols: Params)

Source from the content-addressed store, hash-verified

3408 * values to be inserted.
3409 */
3410 insert(table: string, cols: Params): (Query)
3411 /**
3412 * Upsert creates a Query that represents an UPSERT SQL statement.
3413 * Upsert inserts a row into the table if the primary key or unique index is not found.

Callers 9

replaceMethod · 0.65
wrapMethod · 0.65
unwrapMethod · 0.65
wbFunction · 0.65
ObFunction · 0.65
tyFunction · 0.65
CCFunction · 0.65
oRFunction · 0.65
tFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected