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

Method Replace

statement.go:20–22  ·  view source on GitHub ↗

Replace returns a InsertBuilder for this StatementBuilderType with the statement keyword set to "REPLACE".

(into string)

Source from the content-addressed store, hash-verified

18// Replace returns a InsertBuilder for this StatementBuilderType with the
19// statement keyword set to "REPLACE".
20func (b StatementBuilderType) Replace(into string) InsertBuilder {
21 return InsertBuilder(b).statementKeyword("REPLACE").Into(into)
22}
23
24// Update returns a UpdateBuilder for this StatementBuilderType.
25func (b StatementBuilderType) Update(table string) UpdateBuilder {

Callers 1

ReplaceFunction · 0.80

Calls 3

InsertBuilderTypeAlias · 0.85
IntoMethod · 0.80
statementKeywordMethod · 0.80

Tested by

no test coverage detected