MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / windowFrameSQL

Function windowFrameSQL

pkg/sql/ast/sql.go:1359–1364  ·  view source on GitHub ↗
(f *WindowFrame)

Source from the content-addressed store, hash-verified

1357}
1358
1359func windowFrameSQL(f *WindowFrame) string {
1360 if f.End != nil {
1361 return fmt.Sprintf("%s BETWEEN %s AND %s", f.Type, f.Start.Type, f.End.Type)
1362 }
1363 return fmt.Sprintf("%s %s", f.Type, f.Start.Type)
1364}
1365
1366func fetchSQL(f *FetchClause) string {
1367 sb := getBuilder()

Callers 1

windowSpecSQLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected