MCPcopy Index your code
hub / github.com/upper/db / InsertInto

Method InsertInto

sql.go:67–67  ·  view source on GitHub ↗

InsertInto prepares and returns an Inserter targeted at the given table. Example: q := sqlbuilder.InsertInto("books").Columns(...).Values(...)

(table string)

Source from the content-addressed store, hash-verified

65 //
66 // q := sqlbuilder.InsertInto("books").Columns(...).Values(...)
67 InsertInto(table string) Inserter
68
69 // DeleteFrom prepares a Deleter targeted at the given table.
70 //

Callers 15

BenchmarkInsert1Function · 0.65
BenchmarkInsert2Function · 0.65
BenchmarkInsert3Function · 0.65
BenchmarkInsert4Function · 0.65
BenchmarkInsert5Function · 0.65
TestBatchInsertMethod · 0.65
TestPaginatorMethod · 0.65
TestSessionMethod · 0.65
testPostgreSQLTypesFunction · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by 14

BenchmarkInsert1Function · 0.52
BenchmarkInsert2Function · 0.52
BenchmarkInsert3Function · 0.52
BenchmarkInsert4Function · 0.52
BenchmarkInsert5Function · 0.52
testPostgreSQLTypesFunction · 0.52
TestTemplateInsertFunction · 0.52
TestTemplateInsertFunction · 0.52
TestMySQLTypesMethod · 0.52
TestTemplateInsertFunction · 0.52
TestTemplateInsertFunction · 0.52
testPostgreSQLTypesFunction · 0.52