Skip to content

Documentation


Documentation / @blazetrails/activerecord / InsertAllBuilder

Class: InsertAllBuilder ​

Defined in: packages/activerecord/lib/insert-all.ts:420

Implements ​

  • InsertBuilder

Constructors ​

Constructor ​

new InsertAllBuilder(insertAll): Builder

Defined in: packages/activerecord/lib/insert-all.ts:425

Parameters ​

ParameterType
insertAllInsertAll

Returns ​

Builder

Properties ​

model ​

readonly model: typeof Base

Defined in: packages/activerecord/lib/insert-all.ts:421

Implementation of ​

InsertBuilder.model

Accessors ​

keys ​

Get Signature ​

get keys(): Set<string>

Defined in: packages/activerecord/lib/insert-all.ts:501

Returns ​

Set<string>

Implementation of ​

InsertBuilder.keys

Methods ​

conflictTarget() ​

conflictTarget(): string

Defined in: packages/activerecord/lib/insert-all.ts:523

Returns ​

string

Implementation of ​

InsertBuilder.conflictTarget


into() ​

into(): string

Defined in: packages/activerecord/lib/insert-all.ts:505

Returns ​

string

Implementation of ​

InsertBuilder.into


rawUpdateSql() ​

rawUpdateSql(): SqlLiteral | undefined

Defined in: packages/activerecord/lib/insert-all.ts:562

Returns ​

SqlLiteral | undefined

Implementation of ​

InsertBuilder.rawUpdateSql


returning() ​

returning(): string | undefined

Defined in: packages/activerecord/lib/insert-all.ts:471

Returns ​

string | undefined

Invented Arm ​

toSym — PERMANENT

Invented Arm ​

symbolToS — PERMANENT

Implementation of ​

InsertBuilder.returning


skipDuplicates() ​

skipDuplicates(): boolean

Defined in: packages/activerecord/lib/insert-all.ts:493

Returns ​

boolean

Implementation of ​

InsertBuilder.skipDuplicates


touchModelTimestampsUnless() ​

touchModelTimestampsUnless(block): string

Defined in: packages/activerecord/lib/insert-all.ts:539

Parameters ​

ParameterType
block(col) => string

Returns ​

string

Implementation of ​

InsertBuilder.touchModelTimestampsUnless


updatableColumns() ​

updatableColumns(): string[]

Defined in: packages/activerecord/lib/insert-all.ts:535

Returns ​

string[]

Implementation of ​

InsertBuilder.updatableColumns


updateDuplicates() ​

updateDuplicates(): boolean

Defined in: packages/activerecord/lib/insert-all.ts:497

Returns ​

boolean

Implementation of ​

InsertBuilder.updateDuplicates


valuesList() ​

valuesList(): Promise<string>

Defined in: packages/activerecord/lib/insert-all.ts:509

Returns ​

Promise<string>

Implementation of ​

InsertBuilder.valuesList