MCPcopy Index your code
hub / github.com/Masterminds/squirrel / From

Method From

select.go:281–283  ·  view source on GitHub ↗

From sets the FROM clause of the query.

(from string)

Source from the content-addressed store, hash-verified

279
280// From sets the FROM clause of the query.
281func (b SelectBuilder) From(from string) SelectBuilder {
282 return builder.Set(b, "From", newPart(from)).(SelectBuilder)
283}
284
285// FromSelect sets a subquery into the FROM clause of the query.
286func (b SelectBuilder) FromSelect(from SelectBuilder, alias string) SelectBuilder {

Callers

nothing calls this directly

Calls 2

newPartFunction · 0.85
SetMethod · 0.80

Tested by

no test coverage detected