(f *WindowFrame)
| 1357 | } |
| 1358 | |
| 1359 | func 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 | |
| 1366 | func fetchSQL(f *FetchClause) string { |
| 1367 | sb := getBuilder() |