buildInsertSQL
buildInsertSQL<
T>(schema,points):string
Defined in: db/store.ts:37
Generate an INSERT INTO … VALUES statement for a batch of points.
Delegates to buildInsertSQLFromRows after converting via schema.toRow().
Returns an empty string when the batch is empty.
Type Parameters
Section titled “Type Parameters”T extends TimePoint
Parameters
Section titled “Parameters”schema
Section titled “schema”TableSchema<T>
points
Section titled “points”T[]
Returns
Section titled “Returns”string