MCPcopy
hub / github.com/Masterminds/squirrel / Insert

Function Insert

statement.go:64–66  ·  view source on GitHub ↗

Insert returns a new InsertBuilder with the given table name. See InsertBuilder.Into.

(into string)

Source from the content-addressed store, hash-verified

62//
63// See InsertBuilder.Into.
64func Insert(into string) InsertBuilder {
65 return StatementBuilder.Insert(into)
66}
67
68// Replace returns a new InsertBuilder with the statement keyword set to
69// "REPLACE" and with the given table name.

Callers 13

TestInsertBuilderToSqlFunction · 0.85
TestInsertBuilderMustSqlFunction · 0.85
TestInsertBuilderRunnersFunction · 0.85
TestInsertBuilderSetMapFunction · 0.85
TestInsertBuilderSelectFunction · 0.85
squirrel_test.goFile · 0.85
TestRunWithDBFunction · 0.85
TestRunWithTxFunction · 0.85

Calls 1

InsertMethod · 0.80

Tested by 12

TestInsertBuilderToSqlFunction · 0.68
TestInsertBuilderMustSqlFunction · 0.68
TestInsertBuilderRunnersFunction · 0.68
TestInsertBuilderSetMapFunction · 0.68
TestInsertBuilderSelectFunction · 0.68
TestRunWithDBFunction · 0.68
TestRunWithTxFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…