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

Method RemoveColumns

select.go:268–270  ·  view source on GitHub ↗

RemoveColumns remove all columns from query. Must add a new column with Column or Columns methods, otherwise return a error.

()

Source from the content-addressed store, hash-verified

266// Must add a new column with Column or Columns methods, otherwise
267// return a error.
268func (b SelectBuilder) RemoveColumns() SelectBuilder {
269 return builder.Delete(b, "Columns").(SelectBuilder)
270}
271
272// Column adds a result column to the query.
273// Unlike Columns, Column accepts args which will be bound to placeholders in

Callers 1

TestRemoveColumnsFunction · 0.80

Calls 1

DeleteMethod · 0.80

Tested by 1

TestRemoveColumnsFunction · 0.64