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

Method Columns

insert.go:250–252  ·  view source on GitHub ↗

Columns adds insert columns to the query.

(columns ...string)

Source from the content-addressed store, hash-verified

248
249// Columns adds insert columns to the query.
250func (b InsertBuilder) Columns(columns ...string) InsertBuilder {
251 return builder.Extend(b, "Columns", columns).(InsertBuilder)
252}
253
254// Values adds a single row's values to the query.
255func (b InsertBuilder) Values(values ...interface{}) InsertBuilder {

Callers 7

SelectMethod · 0.45
TestInsertBuilderToSqlFunction · 0.45
TestInsertBuilderSelectFunction · 0.45
TestSelectBuilderToSqlFunction · 0.45
TestRemoveColumnsFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestInsertBuilderToSqlFunction · 0.36
TestInsertBuilderSelectFunction · 0.36
TestSelectBuilderToSqlFunction · 0.36
TestRemoveColumnsFunction · 0.36