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

Function Select

statement.go:57–59  ·  view source on GitHub ↗

Select returns a new SelectBuilder, optionally setting some result columns. See SelectBuilder.Columns.

(columns ...string)

Source from the content-addressed store, hash-verified

55//
56// See SelectBuilder.Columns.
57func Select(columns ...string) SelectBuilder {
58 return StatementBuilder.Select(columns...)
59}
60
61// Insert returns a new InsertBuilder with the given table name.
62//

Callers 15

TestInsertBuilderSelectFunction · 0.85
squirrel_test.goFile · 0.85
TestWithToSqlErrFunction · 0.85
TestRunWithDBFunction · 0.85
TestRunWithTxFunction · 0.85
TestUpdateBuilderToSqlFunction · 0.85
ExampleEqFunction · 0.85
TestSelectBuilderToSqlFunction · 0.85

Calls 1

SelectMethod · 0.45

Tested by 15

TestInsertBuilderSelectFunction · 0.68
TestWithToSqlErrFunction · 0.68
TestRunWithDBFunction · 0.68
TestRunWithTxFunction · 0.68
TestUpdateBuilderToSqlFunction · 0.68
ExampleEqFunction · 0.68
TestSelectBuilderToSqlFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…