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

Method SelectFrom

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

SelectFrom creates a Selector that selects all columns (like SELECT *) from the given table. Example: q := sqlbuilder.SelectFrom("people").Where(...)

(table ...interface{})

Source from the content-addressed store, hash-verified

58 //
59 // q := sqlbuilder.SelectFrom("people").Where(...)
60 SelectFrom(table ...interface{}) Selector
61
62 // InsertInto prepares and returns an Inserter targeted at the given table.
63 //

Callers 15

BenchmarkSelect4Function · 0.65
BenchmarkSelect5Function · 0.65
buildWithCursorMethod · 0.65
TestPaginatorMethod · 0.65
TestSessionMethod · 0.65
testPostgreSQLTypesFunction · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65
TestMySQLTypesMethod · 0.65
TestTemplateSelectFunction · 0.65
TestTemplateSelectFunction · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by 11

BenchmarkSelect4Function · 0.52
BenchmarkSelect5Function · 0.52
testPostgreSQLTypesFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
TestMySQLTypesMethod · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52
testPostgreSQLTypesFunction · 0.52
TestTemplateSelectFunction · 0.52
TestTemplateSelectFunction · 0.52